[Pmwiki-users] Spaces in file names

Patrick R. Michaud pmichaud
Fri Feb 27 13:13:39 CST 2004


On Tue, Feb 24, 2004 at 02:17:43PM -0000, Pmwiki-users-bounces at pmichaud.com wrote:
> files with %20 in the name (not +) but I'd really like Attach because that's
> what I want the users to see and because it keeps track of the group so I
> don't have too.
> 
> This bit is from your response to my earlier message:
> > One could also possibly create a double brackets entry to use double
> > quotes and convert the spaces within:
> >    InterMap:"My Documents/path"
> > The entry would look something like (untested):
> >> $DoubleBrackets["/^\\bInterMap:\"$UrlPathPattern\"/e"] =
> >>   "str_replace(' ','%20',"$0")";
> >where you replace "InterMap" with the name of the InterMap link
> >that you're wanting to do this conversion for.

My bad, this *won't* work because the $UrlPathPattern can't contain
spaces.  I'll backtrack and try again a bit later.

Pm



More information about the pmwiki-users mailing list