osstech-jp / nginx-mod-am

OpenAM Policy Agent for NGINX
16 stars 11 forks source link

Ensure URI is percent-encoded before sending it off to OpenAM #15

Closed mishok13 closed 7 years ago

mishok13 commented 7 years ago

This pull request introduces percent encoding of URIs before they're sent off to the OpenAM (through agent). This fixes an issue where upon encountering a colon character in the URI (either in path or the query part of it) all remaining characters are overwritten with a sequence of "443", thus causing OpenAM to reject policies.

mishok13 commented 7 years ago

This PR wasn't meant to end up in upstream, sorry. I'm closing it for now. :)