On Dec 2, 2016 22:42, "Eric Sandeen" <sandeen@xxxxxxxxxx> wrote:
On 12/2/16 7:10 PM, Paul Wouters wrote:
>
> Fedora runs a captive portal check page at:
>
> http://fedoraproject.org/static/hotspot.txt
>
> It used to return "OK\n".
>
> Now it returns "OK" without the newline.
Wouldn't it make more sense to be checking for status 200? Checking for content on the page seems fragile in general.
Also, and perhaps related, I filed a bug[1] about captive portals that seems to have some attention.
Langdon
Seems like the file date is still well in the past
(2015-12-15) and does not actually contain a newline;
webserver behavior change?
-Eric
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx