Strabon

changeset 523:e96319ec7b7c

no need for double URL decoding of the query
author Babis Nikolaou <charnik@di.uoa.gr>
date Sat Jul 28 15:20:58 2012 +0300 (2012-07-28)
parents 9be794b81096
children 79b679426d4d
files endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/DescribeBean.java
line diff
     1.1 --- a/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/DescribeBean.java	Sat Jul 28 15:18:25 2012 +0300
     1.2 +++ b/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/DescribeBean.java	Sat Jul 28 15:20:58 2012 +0300
     1.3 @@ -142,7 +142,7 @@
     1.4          RDFFormat format = Common.getRDFFormatFromAcceptHeader(request.getHeader("accept"));
     1.5          
     1.6          // get the query
     1.7 -		String query = URLDecoder.decode(request.getParameter("query"), "UTF-8");
     1.8 +		String query = request.getParameter("query");
     1.9      	
    1.10      	// check for required parameters
    1.11      	if (format == null || query == null) {