While reading “Making Wrong Code Look Wrong” by Joel Spolski I’ve encountered some phrase I could use when cooperating with some strange webdevs from nearby country:
“Most web applications are developed under the principle that all strings internally are not encoded until the very last moment before they are sent to an HTML page, and that’s probably the right architecture.”
Nice way to explain those guys that keeping user-entered search keyword URL-encoded in state object and URL-decode it to trigger searches, instead of URL-encoding it when pasting to URLs containing this keyword as parameter, is not really sane.
As usual, saying this myself had no real effect. A citation of authoritative source would’ve work better. Too late now though.
Still if you’re reading this and you recognize yourself you should keep Joel’s point in mind for the future – for sanity’s sake.