Skip to content

Commit

Permalink
Fixes in QueryStringDecoder
Browse files Browse the repository at this point in the history
Motivation:

QueryStringDecoder has several problems:
- doesn't decode correctly path part with `+` (plus) sign in it,
- doesn't cut a `fragment` (after `#`) from query string (see RFC 3986),
- doesn't work correctly with encoding,
- treat `%%` as a percent character escaping (it's don't described in RFC).

Modifications:

- leave `+` chars in a `path` part of uri string,
- ignore `fragment` part (after `#`),
- correctly work with encoding.
- don't treat `%%` as escaping for the `%`.

Result:

Fixed issues from netty#6745.
  • Loading branch information
fenik17 authored and Scottmitch committed May 31, 2017
1 parent 4aa8002 commit 270e9d6
Show file tree
Hide file tree
Showing 2 changed files with 215 additions and 150 deletions.
Loading

0 comments on commit 270e9d6

Please sign in to comment.