[dokuwiki] Re: git changes 2010-12-09

On Sat 18 Dec 2010 04:09, Andreas Gohr pondered:
> >> Yeah I understood your intentions. But: if this other system expects
> >> an URL there and gets back example.com and uses that to build some
> >> link it will fail for sure.
> >
> > How about using php_uname('n') instead?
> 
> That's an idea! I pushed a patch incorporating your suggested changes.

Thanks - that looks like it should work better. 

Does that eliminate the need for:
http://github.com/splitbrain/dokuwiki/commit/204d9c533d983cce1a75f12ef218a92b01961d46

?

(And while I'm looking at it - 

./inc/cache.php:cache_parser() 
./lib/exe/css.php:css_out()
uses:
       $_SERVER['HTTP_HOST']

Shouldn't they use DOKU_URL now?
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: