we have a servlet and sending a post-message to it. In the networktraffic, we could see that the parameter is complete. When calling the request.getParameter(paramname) function in the java servlet we get the value truncated after a special number of characters, not a specific character. So when adding some characters to "somewordthatislong" the position where the param is truncated inside the date moves to the left.
Does anyone have an idea why this happens?
Parameter post message from network
q=somewordthatislong+AND+document_meta_documentarchive_publicationsdatum_manipulated%3A%5B2014%2F01%2F01+TO+2015%2F12%2F31%5D
Calling the request.getParameter(paramname) function
q=somewordthatislong
+AND+document_meta_documentarchive_publicationsdatum_manipulated%3A%5B2014%2F01%2F01+TO+2
Url-decoded value of the param is
q=somewordthatislong AND document_meta_documentarchive_publicationsdatum_manipulated:[2014/01/01 TO 2015/12/31]
Further analysis has shown that there is a class extending HTTPRequest and getParameter, which cuts q after ~100 chars. Sorry Guys was not obvious for me to see because of dependency injection.
Thought it was a standard HTTPRequest. Thanks for your help!