-
Bug
-
Resolution: Fixed
-
Highest
-
8.5.4, 7.19.17
-
26
-
Severity 2 - Major
-
213
-
Issue Summary
This is reproducible on Data Center: (yes)
If the page contains one of the following characters sets in the content the saving process gets a HTTP 400 message.
../ ..\ …/ …\
Steps to Reproduce
- Create a fresh instance with Confluence 7.19.17
- Create test space
- Create a test page
- Insert ../ to the page and save it
- Then edit the page again and add new content then click Close to save as a draft
- Gets HTTP 400
Expected Results
The saving process should be completed properly.
Actual Results
Getting HTTP 400 message after clicking the close button.
Workaround
Option 1 - Using Confluence Source Editor
- Install the Confluence Source Editor app (from Atlassian Labs) in your Confluence Server/Data Center.
- Navigate to the affected page and select Edit at the top of the page.
- Select the Open in source editor button ('<>' symbol in the upper-right corner).
- Replace the below characters with ./ and .\
../ ..\ …/ …\
- Click Apply then Update
- Refresh the page.
Option 2 - Database Manipulation
- Find the page ID via UI —> How to get Confluence page ID
- Stop Confluence
- Create a backup of Confluence's database. Save somewhere offsite for safekeeping.
- Execute the below query if the Collaborative Editing is enabled on Confluence;
update CONTENTPROPERTIES set stringval='synchrony-recovery' where propertyname = 'sync-rev-source' and contentid=<Page Id>;
- Run the following SQL query on Confluence's database:
select * from bodycontent b where b.contentid=<Page Id>;
- Get the bodycontent from the above query and open it in a text editor.
- Replace the below characters with ./ and .\
../ ..\ …/ …\
- Execute the below query to update bodycontent
update bodycontent set body='<Copy Edited Content Here>' where contentid=<Page Id>;
- Start Confluence
Please apply the changes on the test or staging environment first to prevent any data loss.
- followed by
-
CONFSERVER-95889 Getting HTTP 400 while saving page from a template or from a copy by using the close button.
- Closed
- is duplicated by
-
CONFSERVER-93756 Specific string causes page edit to fail with 400 Bad Request
- Closed
-
CONFSERVER-93776 When adding ..\ or ../ on a page and closing error 400 Bad Request happens
- Closed
-
CONFSERVER-94090 Preview a page that contains special combination of characters fail
- Closed
- relates to
-
CONFSERVER-94146 Getting 400 error on creating page & source editor requests
- Closed
-
CONFSERVER-94149 Clicking 'Resume Edit' while Collaborative Editing off causes HTTP 400
- Closed
-
CONFSERVER-94256 Getting HTTP 400 while saving a page template or Stylesheet
- Closed
-
CONFSERVER-94606 Getting HTTP 400 while saving a question in Confluence
- Closed
- was cloned as
-
CONFSERVER-94145 Getting 400 error on creating page & source editor requests
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...