summaryrefslogtreecommitdiff
path: root/tests/functional/api/test_wikis.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: add EncodedId string class to use to hold URL-encoded pathsJohn L. Villalovos2022-01-131-1/+0
| | | | | | | | | Add EncodedId string class. This class returns a URL-encoded string but ensures it will only URL-encode it once even if recursively called. Also added some functional tests of 'lazy' objects to make sure they work.
* fix: use url-encoded ID in all pathsJohn L. Villalovos2022-01-131-0/+15
Make sure all usage of the ID in the URL path is encoded. Normally it isn't an issue as most IDs are integers or strings which don't contain a slash ('/'). But when the ID is a string with a slash character it will break things. Add a test case that shows this fixes wikis issue with subpages which use the slash character. Closes: #1079