Hello!

Is there some utility code for decoding an URI into its individual
parts? Simple string operations don't work for an uri like this:

file:///tmp/abc%25def => file:// + /tmp/abc%def

I've recently come across this because Evolution Data Server somehow
puts such an encoded % into PHOTO file URIs, which the engine scripts
need to inline before sending to a peer.

I'm in the process of writing another script method which extracts the
file path and does URI decoding, but I don't want to reinvent the wheel
if there is already such code. A quick search hasn't brought up
anything, though.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to