Modify ↓
Opened 14 years ago
Closed 14 years ago
#5510 closed defect (fixed)
Trailing white space in Service URL leads to error
Reported by: | Gubaer | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
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)
by , 14 years ago
comment:1 by , 14 years ago
Priority: | minor → 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.
Note:
See TracTickets
for help on using tickets.
Input of Service URL with trailing whitespace