Skip to content

Commit

Permalink
Fix UrlPathHelper#shouldRemoveSemicolonContent()
Browse files Browse the repository at this point in the history
The checkReadOnly() method should only be called from
methods that modify properties to prevent modification
of read-only instances.

Fixes spring-projects#27256
  • Loading branch information
evpaassen committed Aug 20, 2021
1 parent 9f7a940 commit 5786149
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ public void setRemoveSemicolonContent(boolean removeSemicolonContent) {
* Whether configured to remove ";" (semicolon) content from the request URI.
*/
public boolean shouldRemoveSemicolonContent() {
checkReadOnly();
return this.removeSemicolonContent;
}

Expand Down

0 comments on commit 5786149

Please sign in to comment.