Opened 6 years ago
Closed 6 years ago
#1808 closed defect (fixed)
WCST_Import should send encoded URL to Petascope
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.7 |
Component: | wcst_import | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
In Debian 10, test_all_wcst_import
failed completely as WCST_Import sends unencoded requests to Petascope.
In Tomcat's log, the error is:
INFO: Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level. java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
The problem comes from special characters [,]
in tiling
configuration of this WCST Import
service=WCS&version=2.0.1&request=InsertCoverage&coverageRef=file:///tmp/950dbe76_ef1c_47d6_b072_0e04572de93b.gml&tiling=ALIGNED [0:1000, 0:1000, 0:2]&pixelDataType=Byte&useId=existing
Note:
See TracTickets
for help on using tickets.