code: public static String decodeParameter(String input) {
  
          String result = CmsStringUtil.substitute(input, ENTITY_REPLACEMENT, ENTITY_PREFIX);
          return CmsEncoder.decodeHtmlEntities(result, OpenCms.getSystemInfo().getDefaultEncoding());
      }
docs: Decodes a string used as parameter in an uri in a way independent of other encodings/decodings applied before.<p>
  
  @param input the encoded parameter string
  
  @return the decoded parameter string
  
  @see #encodeParameter(String)