You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the issue that requestUrl is logged as "null null null". This is because AccessEvent is missing a null check that exists in all methods except getRequestUrl.
public String getRequestURL() {
if (requestURL == null) { // <- this has to be added.
if (httpRequest != null) {
StringBuilder buf = new StringBuilder();
buf.append(httpRequest.getMethod());
buf.append(AccessConverter.SPACE_CHAR);
buf.append(httpRequest.getRequestURI());
buf.append(getQueryString());
buf.append(AccessConverter.SPACE_CHAR);
buf.append(httpRequest.getProtocol());
requestURL = buf.toString();
} else {
requestURL = NA;
}
}
return requestURL;
}
The text was updated successfully, but these errors were encountered:
The reason why I am saying, that the null check is important, is that the method prepareForDeferredProcessing does call getRequestUrl, but it's useless, because it's overwritten the next time getRequestUrl is called, because the null check is missing.
I have the issue that requestUrl is logged as "null null null". This is because AccessEvent is missing a null check that exists in all methods except getRequestUrl.
The text was updated successfully, but these errors were encountered: