Re: [xml] patch: Functions to parse and create URI query strings



* Richard W.M. Jones wrote:
The semantics of query strings don't seem to be very well defined. 

http://ietfreport.isoc.org/idref/draft-hoehrmann-urlencoded/ will solve
that eventually (there is a bug in the encoding algorithm which does not
account for escaping '+', otherwise it should be fine). It does not deal
with questions like how to handle duplicate parameters and such though,
if that is what you were looking for. The draft also includes a test
suite with all the edge cases. How does your code handle %00 escapes?
-- 
Björn Höhrmann · mailto:bjoern hoehrmann de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]