Modify ↓
Opened 3 years ago
Closed 2 years ago
#5510 closed defect (fixed)
Trailing white space in Service URL leads to error
| Reported by: | Gubaer | Owned by: | team |
|---|---|---|---|
| Priority: | major | Component: | Core imagery |
| Version: | latest | Keywords: | |
| Cc: |
Description
- Open preferences for WMS plugin
- enter the URL http://glebius.int.ru/wms/irs? and append arbitrary white space (blanks, newlines)
- click Get Layers
==>
- Plugin can't retrieve layers from http://glebius.int.ru/wms/irs?
Suggested improvement
- Remove trailing and leading white space in the Service URL before retrieving the list of available layers
Attachments (2)
Change History (4)
Changed 3 years ago by Gubaer
comment:1 Changed 2 years ago by Zverikk
- Priority changed from minor to major
Also, siberiano reports that after copypasting TMS URL with a newline char at the end into the table, newline gets written to the preferences file, resulting in a blank line and "Preferences file had errors" on next startups. This is rather severe, I guess. We need to trim all input strings of spaces and newlines.
comment:2 Changed 2 years ago by stoecker
- Resolution set to fixed
- Status changed from new to closed
In [4164/josm]:
Note: See
TracTickets for help on using
tickets.



Input of Service URL with trailing whitespace