You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. I was trying to make a request to "https://css.gg/css?=link|bulb" from the JVM and it's a real pain, since | is not a valid character for java.net URL parsers, which applies to Java, Clojure, etc, and all libraries in their ecosystems.
So, the request is for css.gg to also support "https://css.gg/css?=link%7Cbulb", which has | encoded as %7C so that it can be used programmatically. If the css.gg API were to URL decode the params, this shouldn't make any difference to existing behavior. However, we can see the impact as I illustrate with these two curl commands:
Hi there. I was trying to make a request to
"https://css.gg/css?=link|bulb"
from the JVM and it's a real pain, since|
is not a valid character for java.net URL parsers, which applies to Java, Clojure, etc, and all libraries in their ecosystems.So, the request is for css.gg to also support
"https://css.gg/css?=link%7Cbulb"
, which has|
encoded as%7C
so that it can be used programmatically. If the css.gg API were to URL decode the params, this shouldn't make any difference to existing behavior. However, we can see the impact as I illustrate with these two curl commands:The first one works, since curl is fine not encoding the param, but, with the encoded param, css.gg only returns CSS for the first icon.
Thanks for the consideration!
The text was updated successfully, but these errors were encountered: