Problems with Captive Portal and 203

Good morning everyone.

Yesterday I set up an IPFire from scratch with the 203. After configuring it correctly and verifying that I could connect to the Wi-Fi access point, I started working on the Captive Portal.

Once I configured the Blue interface with “Terms & Conditions” and everything else, I tried to access the Wi-Fi again and couldn’t accept the terms and conditions because the Captive Portal window where the text to accept should have appeared was completely blank.

I couldn’t investigate further because I was in a hurry, but is anyone else experiencing this?.

Thanks.

I reported this bug.

I submitted a working patch for it in Bugzilla; it’s pending.

Thanks @pscar13 :+1:

Your patch creates a completely new escape function used only in that location rather than using the one in the IPFire defined functions.

This issue is on my list of things to work on, together with a range of others and when I get some time next month I will have a look at it.

I will just revert to 202 for now.

I agree that the escape function should be moved elsewhere.

However, it is currently defined in header.pl, and using header.pl is precisely what causes the captive portal page to be hidden/not displayed correctly.

I think this function should be moved to general-functions.pl, but that would require refactoring all the CGI pages that currently rely on it being defined in header.pl.

Edit : This discussion should probably be in Bugzilla.