Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 127.0.0.1:10101;
- location / {
- return 200 "uri: [$uri]\nrequest_uri: [$request_uri]\n";
- }
- }
- $ echo -e 'GET /a///b/../../c?x=42 HTTP/1.0\n\n' | nc -C localhost 10101
- HTTP/1.1 200 OK
- Server: nginx/1.13.3
- Date: Thu, 17 Aug 2017 07:46:30 GMT
- Content-Type: application/octet-stream
- Content-Length: 45
- Connection: close
- uri: [/c]
- request_uri: [/a///b/../../c?x=42]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement