Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: i18n
-
Labels:None
Description
In LocaleFilter, it call request.getParameter(), this may cause problem when some serlvet class need request.getInputStream():
As spec says:
"If the parameter data was sent in the request body, such as occurs with
an HTTP POST request, then reading the body directly via .getInputStream or
.getReader can interfere with the execution of .getParameter method."
Further, getParameter won't work when request is encryt type. Is there any good way to make LocaleFilter more general?
As spec says:
"If the parameter data was sent in the request body, such as occurs with
an HTTP POST request, then reading the body directly via .getInputStream or
.getReader can interfere with the execution of .getParameter method."
Further, getParameter won't work when request is encryt type. Is there any good way to make LocaleFilter more general?