Affects: 5.3.8


Method checkReadOnly is called in read method UrlPathHelper#shouldRemoveSemicolonContent, line 149. If we want to know whether we should removeSemicolonContent when this.readOnly is true, an error will be thrown.

public boolean shouldRemoveSemicolonContent() {
    checkReadOnly();
    return this.removeSemicolonContent;
}

Comment From: evpaassen

Today I encountered this bug too. I created PR #27303 to fix it.

Comment From: sbrannen

Superseded by #27303.