Closed nickcernis closed 9 years ago
IcoMoon just replied to say they've patched this issue, so future font stylesheets we generate won't trigger ModSecurity rules.
Do we need to regenerate the icons and push out an update?
If so, I think @rafaltomal is the man to do it.
I think @nickcernis can handle it since he updated the plugin with IcoMoon.
Since we haven't added any new icons, I've just updated the plugin's stylesheet to work around the ModSecurity glitch, rather than regenerating the fonts too. Hope that's okay.
The same fix worked when tested by a couple of helpful WP.org forum users.
I think that is ok. We should plan to do an update after this with a few more possible icons that I know have been requested. (ie. Periscope, Medium)
Also, got a request for Paypal too.
Sounds great, @bgardner. I've been logging our most popular requests here and have added @nathanrice's PayPal vote too. A PayPal icon makes sense now they've launched https://www.paypal.me/.
IcoMoon supports importing your own vectors if we want to add anything that isn't available in the popular icon fonts yet (e.g. Goodreads).
We will need to come up with a better UI, though -- because that widget interface is getting clunky with the social media platforms we already include. Also, in an ideal world, a user would be able to order them on the front end in any way they want, rather than the order we have listed in the interface. Same concept that @NicktheGeek did in Simple Share.
Some hosts are running a ModSecurity rule that causes font requests to return a 403.
This is happening because the IcoMoon font generator's cache-busting query string begins with a hyphen, which triggers a match against the ModSecurity regex:
I have reported this to Icomoon (the latest version of their app still uses the same format), but for now it would be worth considering starting the query string with a letter instead. e.g.: