After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 710877 - HTTPItemURI must use base64url instead of base64 encoding scheme.
HTTPItemURI must use base64url instead of base64 encoding scheme.
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: librygel-server
git master
Other Linux
: Normal normal
: ---
Assigned To: rygel-maint
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-25 13:42 UTC by Jean-Baptiste Dubois
Modified: 2013-10-31 00:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use-base64url-instead-of-base64-for-uri-encoding.patch (2.66 KB, patch)
2013-10-25 13:43 UTC, Jean-Baptiste Dubois
committed Details | Review

Description Jean-Baptiste Dubois 2013-10-25 13:42:01 UTC
HTTPItemURI must use base64url encoding scheme instead of base64 to avoid '/' characters in encoded string which results in bug in HTTPItemURI.from_string function.
The provided patch implements base64url encoding & decoding for uris.
see http://tools.ietf.org/html/rfc4648#section-5 for more info in base64url encoding scheme.
Comment 1 Jean-Baptiste Dubois 2013-10-25 13:43:59 UTC
Created attachment 258118 [details] [review]
use-base64url-instead-of-base64-for-uri-encoding.patch
Comment 2 Jens Georg 2013-10-31 00:11:33 UTC
Pushed with minor style changes