Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java/mod_cfml-valve/src/mod_cfml/core.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
public class core extends ValveBase implements Serializable {


private String versionNumber = "1.1.11";
private String versionNumber = "1.1.12";


// declare configurable param defaults
Expand Down Expand Up @@ -271,7 +271,7 @@ public void invoke(Request request, Response response) throws IOException, Servl
// meaning the setup did not work as expected.
// We do a redirect to try again, but also try to catch eternal redirects here, by adding a url parameter.
if (tcURIParams != null && tcURIParams.length() > redirectKey.length()
&& tcURIParams.substring(tcURIParams.length() - 1 - redirectKey.length()) == "&"+redirectKey) {
&& tcURIParams.endsWith("&"+redirectKey)) {
String msg = "Host [" + tcHost + "] already exists, but new requests still land at the localhost host.";
// host already exist? Skip this Valve.
if (loggingEnabled) {
Expand Down