diff options
author | Daiki Ueno <dueno@redhat.com> | 2016-08-08 10:31:19 +0200 |
---|---|---|
committer | Stef Walter <stefw@redhat.com> | 2016-09-02 17:48:35 +0200 |
commit | 63644dcb6ccf52508f41633945fce9c3a8e46d3d (patch) | |
tree | 768a69a127e3a215f65db9164c441d6692eda9c1 /build | |
parent | d8f90d300eb76e04dec2caba99f78e7f8a99b215 (diff) |
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 'build')
0 files changed, 0 insertions, 0 deletions