Issue Summary
This is reproducible on Data Center: yes
Pages and blogs containing path traversal strings (../ ..\ .../ ...) cannot be saved using a close button. The 400 error shows up.
Steps to Reproduce
- Create a new template
- create a new page from template (try your custom template, blog post, other templates like DACI, etc)
- put ../ ..\ .../ ...\ in the title and body
- close the edit mode using Close button
OR
- Create a new page with ../ ..\ .../ ...\ in the body and in the title
- copy the page
- close the new page using Close button.
Expected Results
The draft should be saved.
Actual Results
The page shows 400
following endpoints are causing 400 error:
- docreateblogpost.action
- docreatepagefromtemplate.action
- docreatepage.action
Workaround
Remove ../ ..\ .../ ...\ strings from the input fields. Save the page using Publish button.
- follows
-
CONFSERVER-93655 Getting HTTP 400 while saving page by using the close button.
-
- Closed
-
-
CONFSERVER-94256 Getting HTTP 400 while saving a page template or Stylesheet
-
- Closed
-
- mentioned in
-
Page Failed to load
A fix for this issue is available in Confluence Server and Data Center 9.0.2
Upgrade now or check out the Release Notes to see what other issues are resolved.