Bug 14006 - CU203 : Captive Portal does not appear
Summary: CU203 : Captive Portal does not appear
Status: CLOSED NOTABUG
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: Will only affect a few users Minor Usability
Assignee: Assigned to nobody - feel free to grab it and work on it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-06-04 10:01 UTC by Phil SCAR
Modified: 2026-06-12 08:55 UTC (History)
2 users (show)

See Also:


Attachments
index.cgi.patch (1.45 KB, patch)
2026-06-04 10:01 UTC, Phil SCAR
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Phil SCAR 2026-06-04 10:01:13 UTC
Created attachment 1721 [details]
index.cgi.patch

Since correction bug 13996.

The Captive Portal page is no longer displaying on CU203 unstable

I'm getting an ERR_CONNECTION_TIMED_OUT error in Microsoft Edge, and in Firefox, I'm redirected to the IPFire homepage.

This happens with or without accents in the forms.

The issue appears to be caused by requiring header.pl from index.cgi. 
After removing require "${General::swroot}/header.pl", adding use Encode, and copying only the needed escape function into index.cgi, the captive portal page works again. 
This suggests that header.pl introduces a side effect affecting captive portal output, encoding, or HTTP response handling.

Here is the patch I tested. OK
Comment 1 Phil SCAR 2026-06-10 14:22:49 UTC
Still present on CU203 Test - Development Build: master/8024c29c
Comment 2 Michael Tremer 2026-06-10 14:23:57 UTC
And so? We have hundreds of bugs open. This is really not how you encourage anyone to look at this.
Comment 3 Phil SCAR 2026-06-10 14:46:36 UTC
Sorry ...
It's not a priority for me either.
Comment 4 Adolf Belka 2026-06-10 20:16:25 UTC
I just tried it with Core-Update 203 Development Build: master/8024c29c
with the French language selected and the Captive Portal displayed with no problems.

I was able to enable the Captive Portal on Blue and then create an unlimited coupon.
So I can't reproduce your issue.

In earlier versions of CU203, did you do any manual modifications of any of the files to fix the problem prior to the changes available in Core-Update 203 Development Build: master/8024c29c.

My CU203 Testing system was a full released version of CU202 that was then updated to CU203 Testing.
Comment 5 Phil SCAR 2026-06-10 21:06:05 UTC
Okay,

You know this function better than I do.

Since I don't use it, I probably didn't do the right test, sorry.

If it's OK with you, you can close the bug report.
Comment 6 Michael Tremer 2026-06-12 08:55:23 UTC
Thank you Adolf for testing. I will close this bug and if it comes back, we can always re-open.