Opened 11 years ago

Closed 11 years ago

#466 closed enhancement (fixed)

StringUtil: check on contenttype used by urlDecode() method is too specific

Reported by: Dirk Daems Owned by: abeccati
Priority: minor Milestone:
Component: petascope Version: 8.4
Keywords: Cc:
Complexity: Medium

Description

Better is to check if the contentType starts with application/x-www-form-urlencoded. Otherwise, this causes problems when using the ajax utility of the JQuery library in Firefox as it will append the character set used (UTF-8).

See 52North WPS class org.n52.wps.server.WebProcessingService for a better implementation.

Change History (1)

comment:1 by Dimitar Misev, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.