[Cosmo-dev] Servlet filters and the art of client compatibility
Matthew Eernisse
mde at osafoundation.org
Fri Aug 31 11:00:19 PDT 2007
+1
Regarding this particular problem -- these tight security settings will
likely be common in corporations, and what's worse, they're locked down
by the IT department, so the end user has no recourse to change them
(and can't install Firefox, either).
Matthew
Brian Moseley wrote:
> On 8/30/07, Travis Vachon <travis at osafoundation.org> wrote:
>
>> Given these two bugs, I suspect we will run into similar problems in
>> the future. In order to facilitate keeping our business logic clear
>> of these hacks, I'd like to propose we handle this with a servlet
>> filter that detects user agents and implements the appropriate quirk
>> accommodation code. For now, this filter would implement the fixes
>> for the IE quirks we've seen so far, stripping the default XML
>> namespace from responses and rewriting "application/atom+xml;type=*"
>> to "application/atom+xml". Over time we could add similar processing
>> code to support other troublesome clients.
>
> if you can do it in a reliable way that doesn't mess up other clients,
> i say go for it. i prefer to serve strictly correct data when
> possible, which is not what we're doing at the moment.
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev
>
More information about the cosmo-dev
mailing list