3 ms·
What RFCs are relevant for query parameter and URL encoding? I'm assuming that the article is talking about semantics and not syntax.
by swolchok 16y ago
What RFCs are relevant for query parameter and URL encoding? I'm assuming that the article is talking about semantics and not syntax.
- tptacek 16y agoYeah, not totally sure where he's coming from here; presumably, he means something like 'x-www-form-urlencoded' and the reserved & and = characters. His broader point is that you can't count on ?a=b&c=d formatting if you're writing a tool that needs to exercise any web application it finds. There are definitely some goofy alternatives to that format lurking out there.
- patio11 16y agoMy personal favorite : example.com/outsourcingIsAnEducationalExperience?a=bamp;c=d This, naturally, broke the existing query string parsers, but never fear, they built a custom string tokenizer (which did not actually descend from StringTokenizer) which segmented the string around "amp;" It was brought to my attention after a lecturer in web design at $CLIENT couldn't post a homework assignment for his students because it included "&" in the message body text field.