public static String urlEncode(String string) {
        return string.replace("#", "%23");
    }
@param string string to replace # with %23
@return the encoded string
common/util/src/main/java/io/apiman/common/util/ApimanPathUtils.java