Revert "If servletContextPath is not root (application is deployed not to the root) we should take it into consideration while determinating server base."
This reverts commit 0e3bb5a797
.
This commit is contained in:
parent
83823aad35
commit
a7313023f7
|
@ -71,6 +71,9 @@ public class IncomingRequestAddressStrategy implements IServerAddressStrategy {
|
|||
} else {
|
||||
//servletContextPath can start with servletPath
|
||||
contextIndex = requestUrl.indexOf(servletPath + "/", startOfPath);
|
||||
if (contextIndex == -1) {
|
||||
contextIndex = requestUrl.indexOf(servletPath, startOfPath);
|
||||
}
|
||||
}
|
||||
|
||||
String fhirServerBase;
|
||||
|
|
Loading…
Reference in New Issue