[PATCH] forbid slashes in store ids

Martin Pool mbp at sourcefrog.net
Mon May 16 06:47:41 BST 2005


On 16 May 2005, Robert Collins <robertc at robertcollins.net> wrote:
> On Sun, 2005-05-15 at 18:15 -0400, Aaron Bentley wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > This patch prevents '/' from being used in store ids, because otherwise,
> > it will be interpreted as a path separator, and cause faulty pathnames
> > to be generated.
> 
> Mmm. I'd hoped to include / in converted store ids... is there a
> reasonable alternative to just banning '/' ?

I suggest you just, say, url-escape them in your input. 

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050516/2f048315/attachment.pgp 


More information about the bazaar mailing list