You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Laurent F." <lf...@rockwellcollins.com> on 2009/03/11 09:54:27 UTC

pysvn Malformed URL with white space

Hello,

The client.info2(url) or client.log(url) of the pysvn Python library
raises an error (Malformed URL) if url has some white space character
in the path.However, the library does not request to urllib.quote all
the URL.

I found a solution by converting space character to '%20' to pass the
function call.

Is there other characters not passing as URL ?
Is this a weakness of pysvn only or does the native svn library
request to convert white spaces ?

Thanks

I use Python 2.5, SVN 1.5.1, pysvn 1.6

Laurent

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1307217

RE: pysvn Malformed URL with white space

Posted by we...@tigris.org.
well just replace ' ' by '%20' , but it is a dirty fix!

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1521008

RE: pysvn Malformed URL with white space

Posted by we...@tigris.org.
Hi!

I'm having almost the same problem, how did you fixed it with the '%20'?

Thanks!

Greetings!

> Hello,
> 
> The client.info2(url) or client.log(url) of the pysvn Python library
> raises an error (Malformed URL) if url has some white space character
> in the path.However, the library does not request to urllib.quote all
> the URL.
> 
> I found a solution by converting space character to '%20' to pass the
> function call.
> 
> Is there other characters not passing as URL ?
> Is this a weakness of pysvn only or does the native svn library
> request to convert white spaces ?
> 
> Thanks
> 
> I use Python 2.5, SVN 1.5.1, pysvn 1.6
> 
> Laurent

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1498447

Re: pysvn Malformed URL with white space

Posted by Barry Scott <ba...@barrys-emacs.org>.
On 31 Mar 2009, at 19:38, webpost@tigris.org wrote:

> Hi!
>
> I'm have almost the same problem.
>
> How did you fixed it with '%20'?
>

This is not the pysvn mailing list. Please take this to:

	users@pysvn.tigris.org

Barry
pysvn.tigris.org

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1515613

RE: pysvn Malformed URL with white space

Posted by we...@tigris.org.
Hi!

I'm have almost the same problem.

How did you fixed it with '%20'?

Greetings,

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1498435