MCPcopy Index your code
hub / github.com/zaproxy/zaproxy / setRawQuery

Method setRawQuery

zap/src/main/java/org/apache/commons/httpclient/URI.java:3257–3271  ·  view source on GitHub ↗

Set the raw-escaped query. @param escapedQuery the raw-escaped query @throws URIException escaped query not valid

(char[] escapedQuery)

Source from the content-addressed store, hash-verified

3255 * @throws URIException escaped query not valid
3256 */
3257 public void setRawQuery(char[] escapedQuery) throws URIException {
3258 if (escapedQuery == null || escapedQuery.length == 0) {
3259 _query = escapedQuery;
3260 setURI();
3261 return;
3262 }
3263 // remove the fragment identifier
3264 escapedQuery = removeFragmentIdentifier(escapedQuery);
3265 if (!validate(escapedQuery, query)) {
3266 throw new URIException(URIException.ESCAPING,
3267 "escaped query not valid");
3268 }
3269 _query = escapedQuery;
3270 setURI();
3271 }
3272
3273
3274 /**

Callers 2

setEscapedQueryMethod · 0.95
setQueryMethod · 0.95

Calls 3

setURIMethod · 0.95
validateMethod · 0.95

Tested by

no test coverage detected