DEV Community

Discussion on: . (dot) has no real encoder / decoder. Only sanitizers.

 
louy2 profile image
Yufan Lou

For conformance to RFC 3986, single and double dot segments are recognized as relative path and resolved as such. What other meaning do you want to give them? What's your worry?

Thread Thread
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

NVM. As long as dot is prefixed (perhaps with ~ as it will never be URI-encoded), it seems to work.