-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mime type for schema issues #540
Comments
@simplepanda This should be available in master now. |
@estahn Thanks. I'm seeing What's the best practice for adding a URL to this list other than editing the module directly? I can't see where to get access to the
|
@simplepanda Create a factory first, and then create a validator which uses it. |
All good. Tx. |
@dylanneild in an attempt to cleanup this repo we are trying to filter the issues and see which ones might be closed. Is it safe to assume this is a rather old issue, which sadly was left unanswered, and can be closed? Feel free to close it yourself with some comments if helpful. Also this seem related to what I've been addressing in #709 where the HTTPS redirect returns a |
@DannyvdSluijs - The project I had using this code has been EOL'd for a while so I'm not sure what the current state of this is in terms of workarounds/production. If you feel it's closable, it can be closed. |
Having a minor issue with validation against a Schema that's being served off of GitHub (using the raw URL retrieve):
Basically, it looks like UriRetriever.php is demanding that the mime type of the schema document is
application/schema+json
. GitHub spits outtext/plain
.Any flag or option possible to make UrlValidator ignore this and simply validate the schema syntactically?
The text was updated successfully, but these errors were encountered: