Ticket #869 (new Bug report)

Opened 9 years ago

Redirect original URL incorrect: doubled or repeated

Reported by: anonymous Owned by:
Priority: normal Milestone: WifiDog Auth Server 2.0
Component: Gateway and Auth server Version: Gateway 20090925
Keywords: url, recirect, redirection Cc:


When 'Original URL redirection' is enabled, after the user authenticates they are redirected to a malformed version of the original URL requested, which is incorrectly repeated.

I.E., if the user requested  http://www.google.com/, they are first redirected to the portal login page, after they authenticate they are redirected to http%3A//www.google.comhttp%3A/www.google.com/ (note the repetition and the second instance is incorrectly missing a /).

Also, is escaping the colon expected?


Client version: 20090925

Client source:  http://sourceforge.net/projects/wifidog/files/wifidog-gateway/20090925/wifidog-20090925.tar.gz/download

Wifidog-auth SVN revision: 1464

Wifidog gateway output messages:

(http.c:118) Captured x.x.x.x requesting [http%3A//www.google.comhttp%3A/www.google.com/] and re-directing them to login page

(http.c:198) Redirecting client browser to  http://x.x.x.x:80/login/?gw_address=x.x.x.x&gw_port=2060&gw_id=xxxxxxxxxxxx&url=http%3A//www.google.comhttp%3A/www.google.com/

Note: See TracTickets for help on using tickets.