-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c2b738
commit 6106fde
Showing
1 changed file
with
23 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# FOXML File Validation | ||
|
||
## Introduction | ||
|
||
In migrations, we provide URIs in the `foxml://` scheme which do not have | ||
meaningful file extensions, such as: | ||
|
||
- `foxml://object/some:pid`; or, | ||
- `foxml://datastream/some:pid+DSID+DSID.0` | ||
|
||
Given these are served from a dedicated endpoint and the usual extension | ||
validation does not have anything meaningful to work with, this module wraps | ||
the base `FileExtension` validation such that it is bypassed when the `uri` of | ||
the underlying file entity has the `foxml://` scheme. File _not_ in the | ||
`foxml://` scheme should continue to validate extensions unchanged. | ||
|
||
## Installation | ||
|
||
Enable the (sub)module. | ||
|
||
## Configuration | ||
|
||
None. |