Bug report #18929

Service url cannot include custom query parameters

Added by Lorenzo Pini almost 6 years ago. Updated almost 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Web Services clients/WCS
Affected QGIS version:3.0.1 Regression?:No
Operating System: Easy fix?:Yes
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:26761

Description

Adding new services (WCS, WMS, WFS) the url cannot contain any custom parameter.

If a custom parameter is added, QGIS will use invalid URLs to access the resources.

For example with access_token or mapId query parameters.

http://localhost/server/?access_key=123456789
will result in
http://localhost/server/?access_key=123456789?&SERVICE=WCSx%x%....

QGIS should always generate a valid url to load the layers

History

#1 Updated by Lorenzo Pini almost 6 years ago

Errata, WMS and WFS are working, the issue is only with WCS.

Tested with 3.0.2 too.

Also available in: Atom PDF