[dokuwiki] Re: Duplicate slash patch
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 17 Apr 2008 22:58:59 +0200
On Tue, 15 Apr 2008 00:56:38 +0400
"Ilya S. Lebedev" <ilya@xxxxxxxxxxx> wrote:
> Hello,
>
> This patch fixes getBaseURL function, producing 2 consecutive slashes
> in the URL. Patch contains fix and test for it.
Hmm your test uses 'http:/example.com/' as baseurl!? There's a missing
second slash?
Your preg_replace('!^/+!','',$dir); will remove every slash from $dir!?
Can you explain what the exact problem was?
Andi
--
http://www.splitbrain.org
- Follow-Ups:
- [dokuwiki] Re: Duplicate slash patch
- From: Ilya S. Lebedev
- References:
- [dokuwiki] Duplicate slash patch
- From: Ilya S. Lebedev
Other related posts:
- » [dokuwiki] Duplicate slash patch
- » [dokuwiki] Re: Duplicate slash patch
- » [dokuwiki] Re: Duplicate slash patch
- » [dokuwiki] Re: Duplicate slash patch
- » [dokuwiki] Re: Duplicate slash patch
- » [dokuwiki] Re: Duplicate slash patch
- [dokuwiki] Re: Duplicate slash patch
- From: Ilya S. Lebedev
- [dokuwiki] Duplicate slash patch
- From: Ilya S. Lebedev