[reSIProcate] Character Escaping

derek derek at xten.com
Thu Feb 24 19:30:22 CST 2005


I merged the character escaping logic from my branch. It is controlled by
HANDLE_CHARACTER_ESCAPING which is currently defined(on by default) in
Uri.cxx.  We can do more work to make this even faster, but is necessary for
proxies and should always be on.

 

There is a new method in Data for escaping to a stream:

 

template<class Predicate> std::ostream& 

Data::escapeToStream(std::ostream& str, Predicate shouldEscape) const

 

There is also logic to handle embedded quotes in a NameAddr; this is off by
default. Define HANDLE_EMBEDDED_QUOTES_DNAME in NameAddr.cxx

 

-Derek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20050224/0957399a/attachment.htm>


More information about the resiprocate-devel mailing list