Closed skmoore closed 5 years ago
Looks the like the GPString class strips elements out of the original string representation.
The original string is something like "https://www.openstreetmap.org" and when the code attempts to retrieve the string through the .Value property, the returned string is "openstreetmap.org".
Using this string in a request against the main server results in a redirect on the server side and following the redirect URL the client drops the authentication headers for security reasons. As a result the user authentication/login fails.
Using 10.4 addin. I have to replace 'http' with 'https' for the server to accept my edits.
@skmoore and @ThomasEmge, see @WilliamWalker 's comment.
Tested on 10.5 and 10.6 on different machines and with different logins, always getting a '401 Unauthorized' error when trying to push edits back. Looks like something may have changed server-side with OSM...