Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore: add EncodedId string class to use to hold URL-encoded paths | John L. Villalovos | 2022-01-13 | 1 | -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 paths | John L. Villalovos | 2022-01-13 | 1 | -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 |