Your message dated Mon, 6 Oct 2014 13:48:12 +0200
with message-id 
<CADqj79UqS6td8r0BoqvaWu-MSH2C50vpi5aA2+yDH7Rs+Qp=6...@mail.gmail.com>
and subject line Re: Bug#764203: Acknowledgement (liburiparser1: Incorrect 
resolving of reference "/")
has caused the Debian Bug report #764203,
regarding liburiparser1: Incorrect resolving of reference "/"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
764203: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764203
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: liburiparser1
Version: 0.8.0.1-2
Severity: normal

Dear Maintainer,

here is test program with expected empty output:

***********************************************
#include <stdio.h>
#include <uriparser/Uri.h>


int test(const char *ref, const char *base, const char *expected) {
        UriParserStateA stateA;

        // Base
        UriUriA baseUri;
        stateA.uri = &baseUri;
        int res = uriParseUriA(&stateA, base);
        if (res != 0) {
                return 0;
        }

        // Rel
        UriUriA relUri;
        stateA.uri = &relUri;
        res = uriParseUriA(&stateA, ref);
        if (res != 0) {
                uriFreeUriMembersA(&baseUri);
                return 0;
        }

        // Expected result
        UriUriA expectedUri;
        stateA.uri = &expectedUri;
        res = uriParseUriA(&stateA, expected);
        if (res != 0) {
                uriFreeUriMembersA(&baseUri);
                uriFreeUriMembersA(&relUri);
                uriFreeUriMembersA(&expectedUri);
                return 0;
        }

        // Transform
        UriUriA transformedUri;
        res = uriAddBaseUriA(&transformedUri, &relUri, &baseUri);
        if (res != 0) {
                uriFreeUriMembersA(&baseUri);
                uriFreeUriMembersA(&relUri);
                uriFreeUriMembersA(&expectedUri);
                uriFreeUriMembersA(&transformedUri);
                return 0;
        }

        const int equal = (URI_TRUE == uriEqualsUriA(&transformedUri, 
&expectedUri));
        if (!equal) {
                char transformedUriText[1024 * 8];
                char expectedUriText[1024 * 8];
                uriToStringA(transformedUriText, &transformedUri, 1024 * 8, 
NULL);
                uriToStringA(expectedUriText, &expectedUri, 1024 * 8, NULL);
                printf("\n\n\nExpected: \"%s\"\nReceived: \"%s\"\n\n\n", 
expectedUriText, transformedUriText);
        }

        uriFreeUriMembersA(&baseUri);
        uriFreeUriMembersA(&relUri);
        uriFreeUriMembersA(&expectedUri);
        uriFreeUriMembersA(&transformedUri);
        return equal;
}

int main(int argc, char *argv[]) {

        return test("/", "http://example.com/a";, "http://example.com/";);
}
***********************************************

But actual output is:


Expected: "http://example.com/";
Received: "http://example.com/a";



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-34-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages liburiparser1 depends on:
ii  libc6  2.19-0ubuntu6.3

liburiparser1 recommends no packages.

liburiparser1 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Sorry, bug was fixed in version 0.8

On 6 October 2014 12:36, Debian Bug Tracking System <[email protected]>
wrote:

> Thank you for filing a new Bug report with Debian.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  Jörg Frings-Fürst <[email protected]>
>
> If you wish to submit further information on this problem, please
> send it to [email protected].
>
> Please do not send mail to [email protected] unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 764203: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764203
> Debian Bug Tracking System
> Contact [email protected] with problems
>

--- End Message ---

Reply via email to