[Pmwiki-users] Re: Re: Re: spaces in uploaded files
Christian Ridderström
chr
Sun May 9 05:35:39 CDT 2004
On Sat, 8 May 2004, Wayne Lee wrote:
> Hi Christian,
>
> I'm just getting back to this...
Me too :-)
> > One possible solution could be to augment the syntax as follows:
> >
> > Attach:"A file with spaces.txt"
>
>
> >> at what point is the file name being converted with the spaces
> >> replaced
> >> with +'s?
> >
> > I have no idea... if you point me to an example I could have a closer
> > look
> > at the problem.
>
> urlencode() turns spaces into pluses. rawurlencode() does not.
Oh, thanks. I'll have a look at that then.
> I just posted modification instructions to support spaces in filenames
> to CookBook/UploadExtended
> (<http://www.pmichaud.com/wiki/Cookbook/UploadExtended>)
and your instructions.
> %20 must be used to represent a space. Or optionally, the Attach
> markup can be changed to support spaces:
>
> [[Attach:my file.txt]]
> [[Attach:my file.txt] link to file]
>
> As a result, this will no longer work:
>
> [[Attach:file.txt link to file]]
See my reply to Steve's post.
/Christian
--
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list