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

Re: Perl Bindings: Assertion svn_uri_is_canonical failed

From: Lathan Bidwell <lathan_at_andrews.edu>
Date: Tue, 27 Jan 2015 12:24:47 -0500

In the Perl SWIG bindings:

$ctx->url_from_path

I believe calls the svn_uri_canonicalize in 1.8.8, but I believe that its a
secondary effect (in 1.6, it doesn't cleanse the url)

Is there a perl SWIG binding for svn_uri_canonicalize?

Lathan

On Tue, Jan 27, 2015 at 12:07 PM, Lathan Bidwell <lathan_at_andrews.edu> wrote:

>
> svn_uri_canonicalize(). Else you'll get undefined behaviour,
>>
>> I think I have found the SWIG perl binding for one of these cleansing
> functions, I will test that out and put it in.
>
> By the way, the SWIG definitions are different enough that they could use
> their own documentation page. svn_uri_canonicalize isn't passed, but I
> think it might be url_from_path
>
> However, even fixing that, I am still worried about errors that just crash
> the apache process.
>
> Branko Čibej says:
> >I think he's asking whether he can intercept the assertions before they
> abort the process.
>
> Yes, I'd like to intercept the errors, notify the development email
> address of the error, and give my user a nicer error message.
>
> I'm not that great going through SWIG source, what would it look like?
>
> Lathan
>
Received on 2015-01-27 18:26:26 CET

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.