You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
The example used on https://docs.zendframework.com/zend-escaper/escaping-url/ is not only building a URL. It is also outputting this URL in an HTML context. So this is a case of nested contexts:
This is kind of unfortunate to show this as a good usage of escaping when a previous chapter was precisely warning about nested contexts.
The example should either be improved to apply the necessary HTML escaping, or be replaced by another example using the URL in a non-HTML context.
The text was updated successfully, but these errors were encountered: