istopwg / website

PWG.org web site code
Apache License 2.0
3 stars 1 forks source link

400 Bad Request returned when requesting "https://www.pwg.org." with the trailing period #25

Open wifiprintguy opened 4 years ago

wifiprintguy commented 4 years ago

If I go to "https://www.pwg.org" the website works as expected.

If I go to "https://www.pwg.org." with a trailing period (which is legal since the period is the "root" of the DNS), the site responds with a 400 Bad Request error page.

Tried it in Safari 13.0.5 & Firefox 73.0 (macOS 10.15.3) and Firefox 73.0 (Ubuntu 18.04.3) with the same results.

If I do a "curl -I https://www.pwg.org." I get a 200 OK but a GET will cause the 400 Bad Request.

michaelrsweet commented 4 years ago

Will look into this...