This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 761826: Handle legacy MindTouch file URLs.
This is simply a URL pattern and corresponding view which responds to the MindTouch file URL scheme, looks up the correspondong kuma Attachment, and issues a redirect. It is relatively future-proof for the case where kuma's own file URL patterns change (very likely), and is testable independent of having a fully-migrated set of files (very handy). Test cases are actual MindTouch URLs, with corresponding dummy Attachments created so kuma has something to redirect to.
- Loading branch information
1 parent
c7adfd2
commit 4c748a3
Showing
3 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters