3 ms·
No, it doesn't? Colon is a special character only in the hostname part of a URI to signify the port number. It's free to use anywhere else without escaping.
by sedatk 5y ago
No, it doesn't? Colon is a special character only in the hostname part of a URI to signify the port number. It's free to use anywhere else without escaping.
- jarym 5y agoI swear most places convert : into %3A if I haven’t lost my mind?
- nmadden 5y agoYes - technically you don't need to escape : in most places, but many implementations will do so anyway as they use a single encoding method for all URI components. (And if you don't encode these things where they are not required then you'll soon find lots of downstream systems that break).