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
seems to be the universal solution, which works in browsers consistently and matches the URL spec.
Would it be possible to do this by default? For context, we have non-technical users who are pasting the Google Font URL into a box which is then validated for being a valid URL, and unfortunately, the validator fails (correctly, as per the issue above) with |.
The text was updated successfully, but these errors were encountered:
I believe it would be better to silently migrate to an acceptable delimiter. ! or $ would work fine in this case, and allow for full backwards compatibility with existing implementations and URLs. Pre-escaped URLs might get double escaped by some implementations.
Either escaping the | character or using a different one would be great. I had to modify my source to manually escape | because it (correctly) breaks v.Nu.
When generating a set of fonts on fonts.google.com, a URL is generated like this:
According to the URL spec (best described by this issue comment I believe: symfony/symfony#23944 (comment)) and answers such as this on StackOverflow, or this bug or this suggest that
|
is causing the problem.Changing the URL to use
%7C
instead of|
like this:seems to be the universal solution, which works in browsers consistently and matches the URL spec.
Would it be possible to do this by default? For context, we have non-technical users who are pasting the Google Font URL into a box which is then validated for being a valid URL, and unfortunately, the validator fails (correctly, as per the issue above) with
|
.The text was updated successfully, but these errors were encountered: