We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example: http://akvo.org/rsr/widget/project-narrow/project/636/ http://akvo.org/rsr/widget/nonexistingtemplate/project/636/ & http://akvo.org/rsr/widget/one-from-organisation/305/?widget=project-narrow http://akvo.org/rsr/widget/one-from-organisation/305/?widget=nonexistingtemplate
The reason for this is that we blindly apply the user provided data to grab the correct template.
I would suggest that we remove the magic and try to be explicit in what widget we handle (manual urls & views).
The text was updated successfully, but these errors were encountered:
[#198] Added allowed widget templates list
d91f493
[#198] Raise 404 when widget not found
3144c39
Merge pull request #669 from akvo/feature/198_nonwidget_forbidden
085ea22
Merged in #669
Sorry, something went wrong.
GIVEN a non-existing widget WHEN the widget is accessed THEN the 404 page should be shown
KasperBrandt
No branches or pull requests
Example:
http://akvo.org/rsr/widget/project-narrow/project/636/
http://akvo.org/rsr/widget/nonexistingtemplate/project/636/
&
http://akvo.org/rsr/widget/one-from-organisation/305/?widget=project-narrow
http://akvo.org/rsr/widget/one-from-organisation/305/?widget=nonexistingtemplate
The reason for this is that we blindly apply the user provided data to grab the correct template.
I would suggest that we remove the magic and try to be explicit in what widget we handle (manual urls & views).
The text was updated successfully, but these errors were encountered: