All Collections
Captive Portal
Cisco bug - HTTP status code 405
Cisco bug - HTTP status code 405

Some Cisco controller firmware versions contain a bug that results in a bad HTTP status code when using custom web auth.

sabine avatar
Written by sabine
Updated over a week ago

A bad captive portal status code may be caused by a known issue with certain Cisco controller firmware versions. The issue can be viewed here:

The issue is caused by the custom web auth page not correctly setting the from's POST URL. It can be resolved by a simple change to the form.

The web form needs to be modified to ensure that the HTML body tag fires the loadAction function, as follows: 

<body onload="loadAction();>

This function will set the form's POST URL to the switch_url query string parameter, which will allow login to proceed correctly.

Did this answer your question?