summaryrefslogtreecommitdiff
path: root/p11-kit/uri.h
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2016-08-08 10:31:19 +0200
committerStef Walter <stefw@redhat.com>2016-09-02 17:48:35 +0200
commit63644dcb6ccf52508f41633945fce9c3a8e46d3d (patch)
tree768a69a127e3a215f65db9164c441d6692eda9c1 /p11-kit/uri.h
parentd8f90d300eb76e04dec2caba99f78e7f8a99b215 (diff)
downloadp11-kit-63644dcb6ccf52508f41633945fce9c3a8e46d3d.tar.gz
uri: Remove whitespace early when parsing
For every path/query component, p11_kit_uri_parse() allocates a small buffer to strip whitespace out. This patch removes any whitespace in the URI at the entry of the function to simplify the code. Note that RFC 7512 actually suggests to ignore whitespace at the extracting phase rather than the parsing phase. https://bugs.freedesktop.org/show_bug.cgi?id=97245
Diffstat (limited to 'p11-kit/uri.h')
0 files changed, 0 insertions, 0 deletions