Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Connections Forum

IBM Connections Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Sjaak Ursinus 8.Mar.12 09:35 AM Lotus Notes
Files All releases All platforms


My good friend Stuart McIntyre just asked me via twitter if I could post my solution for the following problem.

Google chrome is currently one of the fastest growing browsers on the market but officially there isn't any support for this browser for IBM Connections, however for the people using this browser they will see it fairly works (I haven't yet seen any issue's yet) inside IBM Connections. This is a big plus for IBM Connections because this means IBM uses techniques on web development which are currently widely accepted.

There is one issue known to me currently with chrome and IBM Connections. That's downloading files out of the files application within IBM Connections.

If you do that with Google chrome you will get a error as follows



This is due to a more restrict way of handling HTTP headers in the HTTP response. Which other browser yet doesn't do yet.

If you look at the HTTP response header of the request you make when you want to download a file the response header will look something like this.

Date Thu, 12 Jan 2012 11:03:11 GMT
Server Apache
Cache-Control public,must-revalidate,max-age=0
X-LConn-Auth true
X-UA-Compatible IE=EmulateIE7
X-Content-Type-Options nosniff
Last-Modified Tue, 05 Jul 2011 13:01:54 GMT
Etag "3fd7aee2-d524-416d-bb11-01706cc8f687:modified=1309870914734"
Content-Length 4409038
Content-Disposition attachment; filename*=UTF-8'nl'%49%42%4d%5f%43%6f%6e%6e%65%63%74%69%6f%6e%73%5f%52%47%5f%33%30%31%5f%46%69%6e%61%6c%2e%70%64%66; size=4409038; creation-date=Tue, 5 Jul 2011 15:01:54 +0200; modification-date=Tue, 5 Jul 2011 15:01:54 +0200;
Keep-Alive timeout=10, max=99
Connection Keep-Alive
Content-Type application/pdf
Content-Language en-US

If you take a close look at the header Content-Disposition you will see that the value is

attachment; filename*=UTF-8'en'%49%42%4d%5f%43%6f%6e%6e%65%63%74%69%6f%6e%73%5f%52%47%5f%33%30%31%5f%46%69%6e%61%6c%2e%70%64%66; size=4409038; creation-date=Tue, 5 Jul 2011 15:01:54 +0200; modification-date=Tue, 5 Jul 2011 15:01:54 +0200;

The problem with this value according to google is that according to the RFC written by IETF (sorry but I don't know the exact RFC number) this is not a allowed value ! if you want to use a comma (,) inside the header field this needs to be enclosed with quote's ("). So the correct value should be as follows

attachment; filename*=UTF-8'en'%49%42%4d%5f%43%6f%6e%6e%65%63%74%69%6f%6e%73%5f%52%47%5f%33%30%31%5f%46%69%6e%61%6c%2e%70%64%66; size=4409038; creation-date="Tue, 5 Jul 2011 15:01:54 +0200"; modification-date="Tue, 5 Jul 2011 15:01:54 +0200";

Have a close look at it you almost don't see the difference but there is :-)

To accomplish the above you can put the follwoing config line into your http.conf of your IBM HTTP Server.

Header edit Content-Disposition ^(.*)creation-date=(.*);\smodification-date=(.*);$ "$1creation-date=\"$2\"; modification-date=\"$3\";"

To make this config line gonnan work you have to make sure the mod_header module is enable in the httpd.conf







Google chrome & IBM Connections (Sjaak Ursinus 8.Mar.12)
. . RE: Google chrome & IBM Connections... (Stuart McIntyre... 8.Mar.12)
. . . . RE: Google chrome & IBM Connections... (Michel Jonker 8.Mar.12)
. . . . . . RE: Google chrome & IBM Connections... (Christoph Stoet... 8.Mar.12)
. . RE: Google chrome & IBM Connections... (Klaus Bild 9.Mar.12)
. . RE: Google chrome & IBM Connections... (Brian Bermingha... 16.Mar.12)
. . . . RE: Google chrome & IBM Connections... (Sjaak Ursinus 19.Mar.12)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM Web Content Manager
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite