Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix JOSM remote control so url= is regular http(s) URL #5439

Open
wants to merge 1 commit into
base: version-3.x
Choose a base branch
from

Conversation

mnalis
Copy link

@mnalis mnalis commented Dec 3, 2022

Otherwise, as imageryUrl is (as required) in format like tms[20]:https://tms.osm-hr.org/knin-2007/{zoom}/{x}/{-y}.png, that value would be sent as url parameter to JOSM remote control imagery load command, which would thus fail to load imagery (in current testing JOSM version 18583 at least)

This PR fixes it so url= parameter to remote control is regular http(s) URL like https://tms.osm-hr.org/knin-2007/{zoom}/{x}/{-y}.png, as it should be.

and not "tms[20]:http://..." which fails to load in JOSM
@sonarcloud
Copy link

sonarcloud bot commented Dec 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ramyaragupathy
Copy link
Member

hey @mnalis - can you please share more details on your Tasking Manager instance? Looks like this PR is specific for v3.

@mnalis
Copy link
Author

mnalis commented Nov 13, 2024

Yes, that PR was made for v3, as that was what we were using (and where we had a problem) in 2022.

That specific instance (https://tasks.osm-hr.org) had since been upgraded to v4 (for other reasons, i.e. Oauth2) which (on a cursory glance) does not seem to have that problem (although I haven't done extensive testing).

@ramyaragupathy
Copy link
Member

@mnalis - do you know of other v3 instances that we could use to test this behaviour? If none available, let's verify the behaviour in v4 and close it here

cc @royallsilwallz @manjitapandey

@mnalis
Copy link
Author

mnalis commented Nov 20, 2024

do you know of other v3 instances that we could use to test this behaviour? If none available

As v3 only supports Oauth1, which is no longer supported by openstreetmap.org, if there are any running TM3 instances left, you wouldn't be able to log in into them any more (unless someone forked the TM3 and backported Oauth2 support into it, of course)

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

Successfully merging this pull request may close these issues.

2 participants