Branch: Tag:

2016-05-25

2016-05-25 16:40:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Roxen.make_absolute_url: Get rid of old forwarded kludges.

Now that url_base() is proxy-aware, there's no need to attempt
do the same thing in make_absolute_url().

1375:    // Add protocol and host to local absolute URLs.    if (has_prefix (url, "/")) {    if(id) { -  url = id->url_base() + url[1..]; +  url = (string)Standards.URI(url, id->url_base());    if (!prestates) prestates = id->prestate;    }    else {