Changes between Initial Version and Version 1 of Ticket #270, comment 4
- Timestamp:
- 01/03/13 16:56:34 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #270, comment 4
initial v1 7 7 Note: there's no `^~*`. 8 8 9 When you write something like `location ^~*/(a|b)/(.+) {`, it's interpreted as prefix location (`^~`) with `*/(a|b)/(.+)` matching string (not regular expression!). So your request must look exactly like this one: `GET *%2F(a%7Cb)%2F(.%2B) HTTP/1.0`, which isn't even a valid request line.9 When you write something like `location ^~*/(a|b)/(.+) {`, it's interpreted as prefix location (`^~`) with `*/(a|b)/(.+)` matching string (not regular expression!). So your request must look like this one: `GET */(a%7Cb)/(.+) HTTP/1.0`, which isn't even a valid request line.