I've been building and supporting a web application for over three years that uses AuthCookieDBI for authentication. Today my SysAdmin showed me that on his Mac, he is unable to log in from Safari, version 2.0.3.

A good login looks like this:

192.168.0.249 - - [16/May/2006:10:12:42 -0400] "GET /LOGIN?credential_ +0=user&credential_1=password&status=Sign+on&destination=%2Fcgi-bin%2F +start.cgi HTTP/1.1" 302 296 "https://foo.com:16900/cgi-bin/start.cgi" + "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.3) +Gecko/20060426 Firefox/1.5.0.3" 159905
and the bad login looks like this:
192.168.0.249 - - [16/May/2006:10:35:18 -0400] "GET /LOGIN?----------- +-0xKhTmLbOuNdArY%0D%0AContent-Disposition:%20form-data;%20name=%22cre +dential_0%22%0D%0A%0D%0Asupport%0D%0A ------------0xKhTmLbOuNdArY%0D%0AContent-Disposition:%20form-data;%20n +ame=%22credential_1%22%0D%0A%0D%0A247oldM1ll%0D%0A------------0xKhTmL +bOuNdArY%0D%0AContent-Disposition:%20 form-data;%20name=%22status%22%0D%0A%0D%0ASign%20on%0D%0A------------0 +xKhTmLbOuNdArY%0D%0AContent-Disposition:%20form-data;%20name=%22desti +nation%22%0D%0A%0D%0A/cgi-bin/start.c gi%0D%0A------------0xKhTmLbOuNdArY--%0D%0A HTTP/1.1" 403 2214 "-" "Mo +zilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/418 (KHTML, + like Gecko) Safari/417.9.3" 487907
It almost looks like the data stream is getting encoded into the URL. Has anyone seen this problem before?

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds


In reply to OT: Safari and AuthCookieDBI by talexb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.