benglerpebbles/pebblebed — Issue #8: Not integrate CGI.escape in the Uid-class
Author: simen
Created: 2012-02-11 19:40:27+00:00
State: open

We had a discussion on how to ensure that we are able to embed a complete url as the OID of an UID. The conclusion was that the url would be CGI-escaped so as not to disrupt the parsing when it was part of an url itself. The solution has been to specify that the OID is itself CGI-escaped, but I think we got ahead of ourselves. It is enough to specify that the UID should be escaped when it is passed as an id in an url. It will be the job of the client and server to escape and unescape the UID for proper transfer, and not a part of the UID spec.

Conclusion: The escaping/unescaping should not be performed by the Uid class. Or?