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

RE: [PATCH] Fix for issue 3609

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 2 Nov 2010 11:28:09 +0100

> -----Original Message-----
> From: Noorul Islam K M [mailto:noorul_at_collab.net]
> Sent: dinsdag 2 november 2010 11:08
> To: dev_at_subversion.apache.org
> Subject: [PATCH] Fix for issue 3609
>
>
> Log
>
> [[[
>
> Fix issue 3609: Canonicalize url
>
> * subversion/svn/info-cmd.c
> (svn_cl__info): Canonicalize url before passing over to API
>
> Patch by: Noorul Islam K M <noorul{_AT_}collab.net>
>
> ]]]

true_path can be a url or a local path. On Windows calling
svn_uri_canonicalize() breaks UNC paths like '//server/share/path'.

I think the code could use a svn_path_is_url() call to check if the path is
a url before calling svn_uri_canonicalize().

        Bert
Received on 2010-11-02 11:28:49 CET

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