Fix UrlPathHelper#shouldRemoveSemicolonContent() (#27303)
The checkReadOnly() method should only be called from methods that modify properties to prevent modification of read-only instances. Fixes #27256
This commit is contained in:
@@ -147,7 +147,6 @@ public class UrlPathHelper {
|
||||
* Whether configured to remove ";" (semicolon) content from the request URI.
|
||||
*/
|
||||
public boolean shouldRemoveSemicolonContent() {
|
||||
checkReadOnly();
|
||||
return this.removeSemicolonContent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user