Removing Null Character from Query Parameter
jeff.dyke at gmail.com
Fri Jun 26 01:21:23 UTC 2020
no offense to the OP, but i love Maxim. Direct and to the point, and in
this case, as usual, he is correct. You should not look at what the
requester wants, before understanding what the sender should provide.
On Thu, Jun 25, 2020 at 2:18 PM Maxim Dounin <mdounin at mdounin.ru> wrote:
> On Thu, Jun 25, 2020 at 02:02:35PM -0400, anish10dec wrote:
> > Thanks Maxim
> > Actually null character is not being generated by Client .
> > We are using below module to validate the tokens
> > https://github.com/kaltura/nginx-akamai-token-validate-module
> > This is being caused by akamai_token_validate_strip_token directive which
> > strips the token and forwards request to upstream server.
> > While striping the token and passing the remaining request to upstream
> > stream its appending null character at the end.
> > If there is no any additional query param in request apart from token ,
> > there is no issue in handling.
> > Request passed to upstream is as below which is causing problem
> > GET /folder/Test.m3u8?uid=abc123\x00
> So the module is broken and needs to be fixed.
> Maxim Dounin
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx