[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: ! Some Characters in Path Cause Troubles (eg in Externals)

From: Synetech <synetech_at_gmail.com>
Date: Mon, 13 Jul 2009 05:43:41 -0700 (PDT)

Okay, I just tried manually escaping the characters in the external
and it works. It’s not pretty though since it requires the user to
manually escape them.

VisualSVN, svn.exe, etc. all accept non-alpha characters for
importing, setting properties, and checkouts, without the user
manually escaping. Even TSVN accepts non-alpha characters in several
places. It seems that the externals are one of the only places that
are not automatically escaped by the program. (It kind of reminds me
of the old SQL-Injection vulnerability thing, where the program is not
escaping special characters on its own.)

Fortunately it should be simple enough to fix: just escape the
external paths before sending them. :)

--
Synetech
Robin Guest wrote:
> 2009/7/13 Synetech <synetech_at_gmail.com>
>
> > since TSVN doesn’t escape them when importing or
> > displaying their URL or anything).
>
>
> It does escape them in the second URL on the Working Copy properties dialog:
>
> "file:///C:/tmp/Temp/%5BSmall%5D/%7BComponents%7D/(Test)/With%20Space"
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2370897
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2370899
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-13 14:44:26 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.