Skip to content
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

Considered CDN_DOMAIN as valid and ensure error message is localized #2017

Merged
merged 1 commit into from Feb 1, 2019
Merged

Considered CDN_DOMAIN as valid and ensure error message is localized #2017

merged 1 commit into from Feb 1, 2019

Conversation

noirbizarre
Copy link
Contributor

@noirbizarre noirbizarre commented Feb 1, 2019

This PR ensures that CDN_DOMAIN, if enabled, is considered as a valid URL domain for file resource type.
It also ensures the associated error message (which is now properly displayed) is localized.

The validation has also been moved from the filetype field (which is not displayed) to the url field (because this is the URL which is wrong).

@noirbizarre noirbizarre added the bug label Feb 1, 2019
@noirbizarre noirbizarre added this to the 1.6.3 milestone Feb 1, 2019
@noirbizarre noirbizarre requested a review from a team February 1, 2019 14:24
@noirbizarre noirbizarre merged commit 9ef391e into opendatateam:master Feb 1, 2019
@noirbizarre noirbizarre deleted the cdn-domain-whitelist branch February 1, 2019 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants