Changeset 8faafc0


Ignore:
Timestamp:
Feb 17, 2016 2:13:58 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
c385ad8
Parents:
8498d7d
Message:

set request encoding

Location:
apps/imagegen/imagegen/webapp/src/main/java/net/i2p/imagegen
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/imagegen/imagegen/webapp/src/main/java/net/i2p/imagegen/IdenticonServlet.java

    r8498d7d r8faafc0  
    100100                        HttpServletResponse response) throws ServletException, IOException {
    101101
     102                if (request.getCharacterEncoding() == null)
     103                        request.setCharacterEncoding("UTF-8");
    102104                String codeParam = request.getParameter(PARAM_IDENTICON_CODE_SHORT);
    103105                boolean codeSpecified = codeParam != null && codeParam.length() > 0;
  • apps/imagegen/imagegen/webapp/src/main/java/net/i2p/imagegen/QRServlet.java

    r8498d7d r8faafc0  
    101101                        HttpServletResponse response) throws ServletException, IOException {
    102102
     103                if (request.getCharacterEncoding() == null)
     104                        request.setCharacterEncoding("UTF-8");
    103105                String codeParam = request.getParameter(PARAM_IDENTICON_CODE_SHORT);
    104106                boolean codeSpecified = codeParam != null && codeParam.length() > 0;
  • apps/imagegen/imagegen/webapp/src/main/java/net/i2p/imagegen/RandomArtServlet.java

    r8498d7d r8faafc0  
    3434                        HttpServletResponse response) throws ServletException, IOException {
    3535
     36                if (request.getCharacterEncoding() == null)
     37                        request.setCharacterEncoding("UTF-8");
    3638                String codeParam = request.getParameter(PARAM_IDENTICON_CODE_SHORT);
    3739                boolean codeSpecified = codeParam != null && codeParam.length() > 0;
Note: See TracChangeset for help on using the changeset viewer.