[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-03-31 03:22:21 CEST

"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")

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 31 03:23:53 2004

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