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
But with the recent update, if you accidentally do this
new UrlParse(window.location)
UrlParse redirect page to this path %5E[/x09/x0A/x0B/x0C/x0D/x20/xA0/u1680/u180E/u2000/u2001/u2002/u2003/u2004/u2005/u2006/u2007/u2008/u2009/u200A/u202F/u205F/u3000/u2028/u2029/uFEFF]+/
That happens because of
In case str is a location Object
would be really helpful if you can add some kind of error, or cast address to a string
function Url(address, location, parser) {
address = trimLeft(`${address}`);
function Url(address, location, parser) {
address = trimLeft(address.toString());
function Url(address, location, parser) {
if (typeof address !== 'string') {
throw new Error('some text here');
}
address = trimLeft(address);
The text was updated successfully, but these errors were encountered:
Hello, enjoying your library, it's very helpful.
But with the recent update, if you accidentally do this
UrlParse redirect page to this path
%5E[/x09/x0A/x0B/x0C/x0D/x20/xA0/u1680/u180E/u2000/u2001/u2002/u2003/u2004/u2005/u2006/u2007/u2008/u2009/u200A/u202F/u205F/u3000/u2028/u2029/uFEFF]+/
That happens because of
In case
str
is a location Objectwould be really helpful if you can add some kind of error, or cast address to a string
The text was updated successfully, but these errors were encountered: