]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/preview_base_url_should_be_absolute.mdwn
(no commit message)
[git.ikiwiki.info.git] / doc / bugs / preview_base_url_should_be_absolute.mdwn
index 5391d39d6e045194013559e2af286f9644a34945..f160a84c4ed06b59c675814298e966a9ce5a8a7e 100644 (file)
@@ -37,3 +37,17 @@ 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]]
+
+----
+
+This was fixed in version 3.20110105 [[done]] --[[Joey]]