Welcome Guest, Not a member yet? Register   Sign In
Escaping data in views
#3

We would need more info on what page it directed you to. Is it possible it is a relative URL and needed the forward slash at the beginning of the url? That would take you to a wrong location.

Escaping a URL is fine like that. It's basically a wrapper around PHP's [b]rawurlencode()[/url].

The esc function is a wrapper around the Laminas Escaper. Reading through their docs can provide more info on when you might want to use each type of escaping.
Reply


Messages In This Thread
Escaping data in views - by fedeburo - 02-01-2022, 12:44 PM
RE: Escaping data in views - by InsiteFX - 02-02-2022, 01:32 AM
RE: Escaping data in views - by kilishan - 02-02-2022, 07:16 AM
RE: Escaping data in views - by pikato - 02-10-2022, 08:39 AM
RE: Escaping data in views - by Kenn38 - 02-10-2022, 08:12 PM
RE: Escaping data in views - by kenjis - 02-11-2022, 05:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB