PacketFence - BTS - PacketFence 1.6.2
View Issue Details
0000016PacketFence 1.6.2public2006-05-02 13:232006-05-03 10:20
user4 
 
normalminoralways
closedfixed 
0000016: redir.cgi not working
Instead of the redirection I obtain a

Status: 302 Moved Location: http://www.inverse.ca [^]

in the browser window when accessing
https://pf.inverse.qc.ca/cgi-bin/redir.cgi?destination_url=http://pf.inverse.qc.ca/ [^]

This is caused by the redir.cgi script executing a
    system($install_dir.'/bin/pfcmd','manage','freemac',$mac);
before doing the
  print $q->redirect($Config{'trapping'}{'redirecturl'});
while bin/pfcmd contains a
 print $q->header;
and therefor already sending out the HTTP status 200 OK before the
redirection.

No tags attached.
related to 0000018closed user4 registering new system shows Content-type headers while activating network 
Issue History
2006-05-02 13:23user4New Issue
2006-05-02 13:24user4Note Added: 0000004
2006-05-02 13:53user4Note Added: 0000014
2006-05-03 07:46dlaporteRelationship addedrelated to 0000018
2006-05-03 10:20user4Note Added: 0000022
2006-05-03 10:20user4Statusnew => closed
2006-05-03 10:20user4Resolutionopen => fixed

Notes
(0000004)
user4   
2006-05-02 13:24   
Reminder sent to: dlaporte, kevmcs

(0000014)
user4   
2006-05-02 13:53   
Reminder sent to: user4

(0000022)
user4   
2006-05-03 10:20   
is fixed when using the following files versions:
- cgi-bin/redir.cgi version 1.10
- bin/pfcmd version 1.36