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

RE: URI escaping in repository URLs

From: Crucius, Wesley <WCrucius_at_sandc.com>
Date: 2004-03-31 16:33:34 CEST

My $0.02 would be that this would definitely make the command line
client more user friendly and anybody who thinks that is a bad thing is
not actually a user! I have a number of potential SVN users doing
embedded microprocessor development who are actually going to have to be
trained on "what's a URI?"... If this could be avoided, it would be a
good thing.

Wes Crucius

"Stephen Warren" <swarren@paramanet.com> writes:

> However, can't you allow the user to specify whether the URI is
> encoded or not - and if the user marks it as not encoded, then apply
> encoding where required to make it a valid URI?

I suppose that could be done. Perhaps some logic like this:

   if definitely_not_valid_url(URL):
       URL = uri_encode(URL)
   elif URL.contains('%25'):
       if not "--force_url":
          error("Can't tell if your URL is encoded or not")
   do_action(URL)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 31 16:34:32 2004

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

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