Opened 15 years ago
Closed 15 years ago
#3738 closed defect (fixed)
[Patch] Searching for non-existent usernames returns objects submitted by anonymous users
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
If I search for "user:THISUSERDOESNOTEXIST" in data that includes objects submitted by anonymous users (example) JOSM will highlight the data submitted by the anonymous user.
Example XML for anonymous user data:
<node id="14581959" lat="64.0552442" lon="-21.9693467" version="1" changeset="99570" visible="true" timestamp="2006-08-31T20:18:45Z"> <tag k="created_by" v="JOSM"/> </node>
If the search engine is to support searching for anonymous user data it would be better to do so in a way that the data isn't returned when the user makes a type in a regular username. E.g. by searching for:
user:<anonymous>
or:
uid:0
Or something similar to that
Attachments (2)
Change History (4)
by , 15 years ago
Attachment: | anon-user.osm added |
---|
comment:1 by , 15 years ago
Summary: | Searching for non-existent usernames returns objects submitted by anonymous users → [Patch] Searching for non-existent usernames returns objects submitted by anonymous users |
---|
The attached patch adds "user:anonymous" as a special search. And, searches for non-existent users will not return anything anymore.
This assumes that user 'anonymous' will not show up in real data. This user exists on the API server. However, since he has made no edits in over 2 years I believe it is very unlikely he will suddenly come back.
by , 15 years ago
Attachment: | SearchAnonymousUser.patch added |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
.osm file with anonymous user data