Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
9.10-rc-1
-
Easy
-
N/A
-
N/A
-
Pull Request accepted
-
Description
Problem: Currently when we are viewing history changes, the version range is display only in the UI, but is not available in the URL.
Being able to see the revision range in the URL would:
- help users give permalinks of the changes;
- manually change the range without the need to select it from the livetable. This would also help with XWIKI-6681
Solution:
Change the form#historyform method from post to get.
Current:
http://...Page/?viewer=changes
Expected:
http://...Page/?viewer=changes&rev1=1.1&rev2=2.1
Issues:
After the change, the URL will transform into
http://...Page/?viewer=changes&form_token=b9knmchO5QFydZ0EmZ17PA&language=en&rev2=2.1&rev1=1.1
Since there is no need for CSRF prevention in this case, we could remove the form_token in order to simplify the URL.
Attachments
Issue Links
- is related to
-
XWIKI-15744 Refactor historyinline.vm to rely less on JS for its behaviour
- Open
- relates to
-
XWIKI-15883 Selected page versions range cannot be deleted anymore from History tab
- Closed
-
XWIKI-6681 Unable to compare document version displayed on different page of the history version livetable
- Open