Skip to content
This repository has been archived by the owner. It is now read-only.

[PATCH] Add support for HTTP auth to TMS, don't send empty query strings #2473

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

@openstreetmap-trac openstreetmap-trac commented Jul 23, 2021

Reporter: Trav
[Submitted to the original trac issue database at 5.08am, Wednesday, 18th November 2009]

When trying to configure the NearMap TMS (http://wiki.openstreetmap.org/wiki/Nearmap) in merkaartor I came across two problems:

  1. NearMap required HTTP auth which Merkaartor doesn't support for tile requests (note that NearMap no longer actually requires this).
  2. The TMS requests always include a trailing '?' in the URL even when the query string is empty, which the NearMap tile server doesn't like.

The attached patch implements support for optional HTTP auth to be specified in the server entry (ie [user:password@]host) and only appends the '?' to the tile URL if there is a query string to be appended.

@openstreetmap-trac
Copy link
Author

@openstreetmap-trac openstreetmap-trac commented Jul 23, 2021

Author: koying
[Added to the original trac issue at 12.21am, Thursday, 18th February 2010]

(In [20051]) FIX : Add support for HTTP auth to TMS (by Trav) (closes #2473)

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

No branches or pull requests

1 participant