You can work around this problem by having WebObjects return a full URL in this instance instead of a partial one. This requires overriding a private method in WOApplication. The method is -_newLocationForRequest:, and the new version should return the URL that the redirect will use. Your code might look like this:
- (NSString*)_newLocationForRequest:(WORequest*)aRequest {
NSString* aNewURL = [NSString stringWithFormat:@"http://store.webobjects.com/%@/%@", [aRequest adaptorPrefix], [aRequest applicationName]];
return aNewURL;
}
IMPORTANT: Please note that the _newLocationForRequest: method is private, and its use is not supported by Apple. This method is subject to change or removal in future WebObjects releases. Use this method at your own risk.