I've got an authentication perl cgi I've written. Basically all my pages check for an authentication cookie. So if you navigate to
and there's no auth. cookie, it passes its own URL to
I suspect that the first parameter is going through, and the second parameter is getting lost (and that all parameters after the first would be lost) but I'm not sure how to fix the problem. I thought cgi.pm was supposed to automatically escape things in a situation like this.