Opened 12 years ago
Closed 12 years ago
#236 closed defect (fixed)
KV-paired CRS gets truncated during equality test
Reported by: | Piero Campalani | Owned by: | Piero Campalani |
---|---|---|---|
Priority: | major | Milestone: | 8.4 |
Component: | secore | Version: | 8.3 |
Keywords: | secore equality key value | Cc: | |
Complexity: | Medium |
Description (last modified by )
For example, querying:
http://localhost:8080/def/equal?1=http://localhost:8080/def/crs?authority=EPSG&code=4326&version=0&2=http://localhost:8080/def/crs/EPSG/0/4326
will parse http://localhost:8080/def/crs?authority=EPSG
instead of http://localhost:8080/def/crs?authority=EPSG&code=4326&version=0
as first CRS, so that exception is then thrown.
Change History (5)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 12 years ago
The same happens upon compounding.
http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs?authority=EPSG&code=4326&version=0&2=http://localhost:8080/def/crs/EPSG/0/32633
comment:4 by , 12 years ago
Description: | modified (diff) |
---|
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in:
Author: Piero Campalani <cmppri@unife.it> Date: Fri Nov 9 15:23:19 2012 +0100 Fix SECORE URLs parsing in case of compound/equal operations and KV-paired URLs (ticket #236).
Note:
See TracTickets
for help on using tickets.
The problem resides in
secore.util.StringUtil.addParam()
method, which splits the KV-paired URL and adds the first two elements, which should be the key and the value actually, but in this case they key is the number (1) and the value is the whole KV-paired URL.