Details
-
Bug
-
Resolution: Fixed
-
High
-
None
Description
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? 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
- is duplicated by
-
CONFCLOUD-39136 OCAuth is not appended to the URL when 'Allow authentication tokens in the URL path' is enabled.
- Closed
- is related to
-
CONFSERVER-39068 "Edit in Word" using path based authentication is broken in Confluence 3.3.x and above
- Closed
- relates to
-
CONFCLOUD-39126 Office 2010 will not work with the Office Connector unless you use Internet Explorer if URL path authentication is disabled
- Closed