Topic: [Bug] /post/show/<contains period> returns 406 instead of 404

Posted under Site Bug Reports & Feature Requests

Bug overview description.
The least important bug report yet? This is just a blank page. That isn't really an issue, but the fact that it's different to this for example could indicate a bug in the request address parser, so I figured I'd report it. Also, everything after a hyphen is truncated. Again, I'm expecting 404 and obviously not subtraction, but that was unexpected.

What part(s) of the site page(s) are affected?
404 page.

What is the expected behavior?
404 to match what putting other junk in there does.

What actual behavior is given instead?
406, nothing is returned in the response body.

Time of incident (if applicable).
N/A

Can you reproduce the bug every time?
Yes.

What steps did you take to replicate this bug?
After noticing that post 0 and post -1 show "This post does not exist" and not a 404, I tried other numeric formats. When I tried 0.1E6 (= 100000), white page.

Errors or other messages returned (if any).
406.

  • 1