-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -242,12 +242,15 @@ iD.Connection = function() { | |
|
||
connection.changesetTags = function(comment, imageryUsed) { | ||
var tags = { | ||
created_by: 'iD ' + iD.version, | ||
host: (window.location.origin + window.location.pathname).substr(0, 255), | ||
locale: iD.detect().locale, | ||
user_agent: navigator.userAgent.substr(0, 255), | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bhousel
Author
Member
|
||
imagery_used: imageryUsed.join(';').substr(0, 255), | ||
created_by: 'iD ' + iD.version | ||
}; | ||
|
||
if (comment) { | ||
tags.comment = comment; | ||
tags.comment = comment.substr(0, 255); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bhousel
Author
Member
|
||
} | ||
|
||
return tags; | ||
|
this might be leaking a bit too much private information