projectwonder/wonder — Issue #94: WONDER-674 ERXRequest.isRequestSecure is broken for servlet deployment 
Author: pascalrobert
Created: 2011-12-27 02:46:22+00:00
State: open

Reported by René Bock

I just noticed, that in servlet deployment the method ERXRequest.isRequestSecure doesn't return the expected value for https requests.

The reason is, that if the request header "https" is not set, there is check for header "x-webobjects-server-port"

but in servlet mode the header "x-webobjects-servlet-server-port" is sent...

By the way, the same is true for the header "x-webobjects-server-name" vs. "x-webobjects-servlet-server-name"

As consquence, generateCompleteUrls will generate the wrong protocol part.