Bugzilla WebServices from Java client, getting Login required after successful login...

sm4rtus sm4rtus at gmail.com
Wed Nov 19 19:45:09 UTC 2008


On Nov 19, 8:03 pm, Max Kanat-Alexander <mka... at bugzilla.org> wrote:
> On Wed, 19 Nov 2008 05:23:49 -0800 (PST) sm4rtus <sm4r... at gmail.com>
> wrote:
>
> > I successfully managed to login to the bugzilla via the webservices
> > api. [snip]
>
>         Since this doesn't have to do with upstream development, you
> should ask on the support list, described here:
>
>        http://www.bugzilla.org/support/
>
>         -Max
> --http://www.everythingsolved.com/
> Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=dev-apps-bugzi...@lists.mozilla.org>

Thanks. I found out what is the problem. According to RFC2409 (about
cookies)

    Domain=domain
      Optional.  The Domain attribute specifies the domain for which
the
      cookie is valid.  An explicitly specified domain must always
start
      with a dot.

Bugzilla send the cookies with domain NOT starting with a dot and
Apache HttpClient rejects it. I am not sure, if this is a correct
behaviour, the bugzilla cookies in the browser work, is Firefox just
lenient? :)
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list