Opened 12 years ago
Closed 11 years ago
#385 closed defect (fixed)
Illegal optional parameter read as flattening option
Reported by: | Piero Campalani | Owned by: | mrusu |
---|---|---|---|
Priority: | minor | Milestone: | 9.0 |
Component: | secore | Version: | 8.4 |
Keywords: | illegal parameter flatten | Cc: | mrusu, Dimitar Misev |
Complexity: | Easy |
Description
In the following queries, foo=qwerty
is read as flatten=none
.
http://localhost:8090/def/crs?authority=EPSG&version=0&code=4327
http://localhost:8090/def/crs?authority=EPSG&version=0&code=4327&foo=qwerty
http://localhost:8080/def/crs/EPSG/0/4327
http://localhost:8080/def/crs/EPSG/0/4327?foo=qwerty
Exception should be thrown instead, as by #356.
Note:
See TracTickets
for help on using tickets.
No actually that's because when there are more than 3 parameters, parameterized handler is chosen. And this one doesn't do flattening of the output. I fixed #356 which then fixes this.