Changeset 213 for trunk/wifidog/src/http.c
- Timestamp:
- 08/29/04 21:06:11 (9 years ago)
- Files:
-
- 1 modified
-
trunk/wifidog/src/http.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog/src/http.c
r190 r213 70 70 url = httpdUrlEncode(tmp_url); 71 71 72 if ((asprintf(&newlocation, "Location: %s://%s:%d%s /login?"72 if ((asprintf(&newlocation, "Location: %s://%s:%d%slogin?" 73 73 "gw_address=%s&gw_port=%d&gw_id=%s&url=%s", 74 74 protocol, … … 88 88 httpdAddHeader(webserver, newlocation); 89 89 httpdPrintf(webserver, "<html><head><title>Redirection</title></head><body>" 90 "Please <a href='%s://%s:%d%s /login?gw_address"90 "Please <a href='%s://%s:%d%slogin?gw_address" 91 91 "=%s&gw_port=%d&gw_id=%s&url=%s'>click here</a> to " 92 92 "login",
