quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory (Grisha) Trubetskoy" <gri...@apache.org>
Subject Re: Auth problem with publisher handler and Opera browser?
Date Sun, 06 Apr 2003 20:35:04 GMT

Yes, the latest mod_python publisher doesn't have the space and there is a
comment in the code specifically mentioning Opera.

I guess the simple fix is to edit the publisher and take out the space....

Grisha

On Sun, 6 Apr 2003, Michael A. Josephson wrote:

> Hi,
>
> I'm not sure if this is something that should be fixed in modpython's
> publisher handler and/or if it should be reported as a bug in Opera.
>
> Using the version of the publisher handler that's included with
> mod_python-2.7.8, if I set a script to require authentication (by
> assigning a userlist to __auth__) then Opera (6.x and 7.x) gives "The
> server requested a login authentication method that is not supported" when
> you call the script.
>
> I think this is caused by publisher.py putting spaces between the equals
> character and the value of the realm attribute on the WWW-Authenticate
> header.
>
> e.g. at the moment, publisher sends:
>
> WWW-Authenticate: Basic realm = "MyApp"
>
> If I edit publisher.py to output:
>
> WWW-Authenticate: Basic realm="MyApp"
>
> this resolves the problem.
>
> -Michael
>


Mime
View raw message