Modify ↓
Opened 16 years ago
Closed 16 years ago
#1875 closed defect (fixed)
[PATCH] DirectUpload plugin incorrectly encodes the OSM username: Users with non-ascii characters in their names can't upload traces
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Plugin | Version: | latest |
Keywords: | Cc: |
Description
My username is "Ævar Arnfjörð Bjarmason". When I try to use the DirectUpload plugin to upload traces with that username set in JOSM preferences the DirectUpload plugin will send an incorrect HTTP auth hash to the OSM server and it'll reject the upload.
This is related to #1797. DirectUpload doesn't seem to handle anything relating to encoding correctly.
Attachments (1)
Change History (5)
comment:1 by , 16 years ago
Owner: | changed from | to
---|
comment:2 by , 16 years ago
Priority: | major → minor |
---|
comment:3 by , 16 years ago
Summary: | DirectUpload plugin incorrectly encodes the OSM username: Users with non-ascii characters in their names can't upload traces → [PATCH] DirectUpload plugin incorrectly encodes the OSM username: Users with non-ascii characters in their names can't upload traces |
---|
Tested, works for me.
Note:
See TracTickets
for help on using tickets.
Here's a fix for this, I tested it with "xöön" and it works. Ironically, I couldn't upload normal data using JOSM integrated dialog.
Could someone please verify that the patch works? A compiled version is attach, just replace your old DirectUpload.jar and test :). If it works, please change the title to "[PATCH] …" so that it will get checked in.
As a temporary workaround you can still use your email address which probably doesn't contain any "special" chars.