Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't you just encode the "+" if you wanted it as a literal?


A better example is the name: "foo%20bar".

A user might have entities named "foo bar", "foo%20bar", and "foo%2520bar". Sometimes, mistakes happened because users forgot to double encode or they used the wrong protocol. As this names were used in URL, query parameters, and the body, and each has its own.

As I mentioned, with clear constraints and rules, we can accomplish anything we need, it can get complex. My takeaway from this project is to limit the valid characters and make it simple for everyone.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: