persistent-id decode errors

Andy Bennett andyjpb at knodium.com
Mon Aug 12 19:37:07 EDT 2013


Hi,

> On 8/7/13 2:27 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
>>> How do I decode semicolons in the actual data?
>>
>> The data is URL encoded like any HTTP header is, and semicolons are
>> included in that encoding. They rarely if ever appear in actual data,
>> which is why it was chosen.
> 
> Correction: they can be URL-encoded, but that's an option. The default is
> to escape semicolons with a backslash. Nothing else is encoded.

So "\;" is interpreted as ";" but "\" in any other position is
interpreted literally: i.e. it has no effect on the following character.

Are the encoding rules documented anywhere? All that

https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPRequestMapper

...says is that the data is UTF8. It is silent on the issue of
multi-value encodings.




Regards,
@ndy

-- 
andyjpb at knodium.com
http://www.knodium.com/



More information about the users mailing list