spaces in links

Andrew Tridgell tridge at samba.anu.edu.au
Thu Nov 5 14:24:34 EST 1998


> It turns out that yodl strips all spaces from link() and url() commands.
> This is a *massive* pain when doing cross referencing and will mean a
> change to SWAT when generating the help URLs. Herb is looking at that.

spaces aren't normally legal in URLs. 

there are two ways to handle this that I can think of:

1) use a + instead of a space. That's the standard character for
   spaces in URLs and swat already knows to map them. (see the routine
   unescape() in cgi.c)

2) use an _ and get swat to add an underscore before the lookup.



More information about the samba-cvs mailing list