Closed GoogleCodeExporter closed 8 years ago
Thanks for this! MDN is stronger when it comes to escape(): "This feature has
been removed from the Web. Though some browsers may still support it, it is in
the process of being dropped. Do not use it in old or new projects. Pages or
Web apps using it may break at any time. ... Use encodeURI or
encodeURIComponent instead."
It seems like encodeURI is more appropriate and few chars. Is there a reason
you want to use encodeURIComponent?
Original comment by stevesou...@gmail.com
on 24 Apr 2014 at 12:51
Ah, you're right. That does seem like the better choice, especially as it's
compatible with decodeURIComponent() as well.
I guess I just chose encodeURIComponent, since URL encoding is the de-facto
standard. But since it's not required, I'm all for shorter encoding.
Original comment by fuch...@gmail.com
on 24 Apr 2014 at 1:32
fixed
Original comment by stevesou...@gmail.com
on 23 Jul 2014 at 12:41
Original issue reported on code.google.com by
fuch...@gmail.com
on 23 Mar 2014 at 1:25