httpservices/src/main/java/ucar/httpservices/Escape.java
public static String escapeURLQuery(String ce)
    {
        try {
            ce = escapeString(ce, _allowableInUrlQuery);
        } catch (Exception e) {
            ce = null;
        }
        return ce;
    }
public static String escapeURLQuery(String ce)
    {
        try {
            ce = escapeString(ce, _allowableInUrlQuery);
        } catch (Exception e) {
            ce = null;
        }
        return ce;
    }
Define the DEFINITIVE URL constraint expression escape function.

@param ce The expression to modify.
@return The escaped expression.