Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
None
-
None
Description
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
In the standalone distribution of Confluence 3.3.x and above the session cookie is sent using the HttpOnly attribute.
This breaks the following Javascript that is used to rewrite the path for the "Edit in Word" feature.
Zen/src/main/resources/templates/extra/editinword/editInOffice.js:
function getCookie( check_name ) { // first we'll split this cookie up into name/value pairs // note: document.cookie only returns name=value, not the other components var a_all_cookies = document.cookie.split( ';' );
For HttpOnly cookies document.cookies returns null and jsessionid in the filterPath function is null.
function filterPath(urlPath) { var jsession = getCookie('jsessionid'); if (!jsession){ jsession = getCookie('JSESSIONID'); } if (jsession){
Workaround
Please see http://confluence.atlassian.com/display/CONFKB/%27Edit+in+Word%27+Requires+Login+or+Doesn%27t+Work+at+All for a workaround.
Attachments
Issue Links
- details
-
CONFSERVER-21505 "Edit in Word" is broken in Confluence 3.3.x and above
- Closed
- is duplicated by
-
CONFSERVER-39136 OCAuth is not appended to the URL when 'Allow authentication tokens in the URL path' is enabled.
- Closed
-
CONFSERVER-21636 Edit in Word does not work with Office 2010 in browsers other then IE when 'Allow authentication tokens in the URL path' is disabled
- Closed
- relates to
-
CONFCLOUD-39068 "Edit in Word" using path based authentication is broken in Confluence 3.3.x and above
- Closed
-
CONFSERVER-39126 Office 2010 will not work with the Office Connector unless you use Internet Explorer if URL path authentication is disabled
- Closed