Re: Browser handling a URL having .123. in the breadcrumb trail as a Lotus file
Re: Browser handling a URL having .123. in the breadcrumb trail as a Lotus file
- Subject: Re: Browser handling a URL having .123. in the breadcrumb trail as a Lotus file
- From: Chuck Hill <email@hidden>
- Date: Wed, 17 Mar 2010 10:50:15 -0700
Hi Patrick,
On Mar 17, 2010, at 10:30 AM, Patrick Middleton wrote:
Anybody else seen this before?
I'm supporting WO451 on MacOSX 10.4.11 with Apache 1.3.41.
A sample URL generated is....
http://<host>/cgi-bin/WebObjects/<app.woa>/<instance>/wo/
s3VxGNjQd5pK3HI1TuI1TEs8h2j/5.0.1.8.1.3.23.3.3.123.1.1
Packet burglary with tcpflow on port 80 and on the woapp's port
shows that the instance is generating a response including a header
'content-type: text/html' and that the response returned to the
browser by Apache has a header 'content-type: application/
vnd.lotus-1-2-3'.
Apache 1.3.41 is set up in a normal way, including:
<IfModule mod_mime.c>
TypesConfig /private/etc/httpd/mime.types
</IfModule>
and /private/etc/httpd/mime.types declares:
application/vnd.lotus-1-2-3 123
I'm guessing this counts as a bug in mod_WebObjects.so; if it's
picking up a content type value from the instance response, it
should be handling it in a way that it doesn't then get overridden
by mod_mime.
My guess would be a bug in mod_mime that is doing the equivalent of
url.contains(".123") rather than url.endsWith(".123"). Can you re-
arrange the order the modules are loaded and added? If you move
mod_mime _after_ mod_webobjects, that might avoid the issue.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden