Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

PGError & 500 error when given invalid Authorization: Basic string #2275

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 5.51pm, Sunday, 13th September 2009]

Rails will throw a 500 error when you give it a ISO 8859-1 username. See [http://josm.openstreetmap.de/ticket/3483 the JOSM ticket] for a network sniff.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 7.28pm, Sunday, 13th September 2009]

I think the obvious question here is, what do you think it should do? I'm not even sure the HTTP specification provides any way to know what the encoding of the authentication header is does it?

@openstreetmap-trac
Copy link
Author

Author: avarab[at]gmail.com
[Added to the original trac issue at 7.45pm, Sunday, 13th September 2009]

Replying to [comment:1 TomH]:

I think the obvious question here is, what do you think it should do? I'm not even sure the HTTP specification provides any way to know what the encoding of the authentication header is does it?

Maybe give an error when the user provides an invalid UTF-8 sequence instead of sending it at the database which will result in an internal error?

I don't know. I just file bugs for things which are internal errors by reflex.

@openstreetmap-trac
Copy link
Author

Author: mmd
[Added to the original trac issue at 8.36pm, Thursday, 21st May 2020]

Mentioned JOSM issue was set to "closed defect (fixed)" in https://josm.openstreetmap.de/ticket/3483 - closing here as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant