Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: CGI error: "Invalid header value contains a newline not followed by whitespace"

by ikegami (Patriarch)
on Oct 14, 2014 at 14:24 UTC ( [id://1103747]=note: print w/replies, xml ) Need Help??


in reply to Re^2: CGI error: "Invalid header value contains a newline not followed by whitespace"
in thread CGI error: "Invalid header value contains a newline not followed by whitespace"

Because you're passing the url of the page the user requested when you mean to redirect to the login page.

Maybe $cgi->url(-base => 1) . '/login.html'?

  • Comment on Re^3: CGI error: "Invalid header value contains a newline not followed by whitespace"
  • Download Code

Replies are listed 'Best First'.
Re^4: CGI error: "Invalid header value contains a newline not followed by whitespace"
by groengoen (Initiate) on Oct 14, 2014 at 16:29 UTC
    That worked perfectly, thanks very much.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1103747]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-19 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found