diff options
author | Joey Hess <joey@kitenet.net> | 2011-01-05 13:34:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-01-05 13:34:44 -0400 |
commit | b3eb7fdf82b53a9afc82790b07d17d7472725620 (patch) | |
tree | f1207e1f9942b6a6e5c1ba001150f58973ef0ee3 | |
parent | 841cc576db2bddf5c851520ab7592464ec0aa259 (diff) |
it gets worse
-rw-r--r-- | doc/bugs/preview_base_url_should_be_absolute.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bugs/preview_base_url_should_be_absolute.mdwn b/doc/bugs/preview_base_url_should_be_absolute.mdwn index 5391d39d6..f865f03ae 100644 --- a/doc/bugs/preview_base_url_should_be_absolute.mdwn +++ b/doc/bugs/preview_base_url_should_be_absolute.mdwn @@ -37,3 +37,13 @@ if the cgi was in an unusual place. `misctemplate` needs to *always* set an absolute baseurl. Which is a problem, since `misctemplate` is not currently passed a cgi object from which to construct one. --[[Joey]] + +Update: Worse and worse. `baseurl(undef)` can be a relative url, but +nearly every use of it I can find actually needs to be absolute. +the numerous `redirect($q, baseurl(undef))` all need to be absolute +according to `CGI` documentation. + +So, I'm seriously thinking about reverting the part of +[[todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both]] +that made `baseurl(undef)` relative. +And I suppose, re-opening that todo. :( --[[Joey]] |