Opened 5 years ago

Closed 5 years ago

#236 closed defect (fixed)

KV-paired CRS gets truncated during equality test

Reported by: pcampalani Owned by: pcampalani
Priority: major Milestone: 8.4
Component: secore Version: 8.3
Keywords: secore equality key value Cc:

Description (last modified by pcampalani)

For example, querying:


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 Changed 5 years ago by pcampalani

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.

comment:2 Changed 5 years ago by pcampalani

  • Owner changed from mrusu to pcampalani
  • Status changed from new to assigned

comment:3 Changed 5 years ago by pcampalani

The same happens upon compounding.


comment:4 Changed 5 years ago by pcampalani

  • Description modified (diff)

comment:5 Changed 5 years ago by pcampalani

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in:

Author: Piero Campalani <>
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.