Sunil Mohan Adapa
07e62a213b
views: Update utility for checking URL safety
...
Django has updated the is_safe_url() method that we based our implementation on.
It is now called url_has_allowed_host_and_scheme(). Our implementation remains
simple as we don't allow any hostname or scheme to be set.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-26 11:25:07 -04:00
..
2021-09-26 08:35:30 +02:00
2021-09-20 16:50:37 -04:00
2021-09-25 12:41:01 +03:00
2021-02-04 17:35:31 -08:00
2021-09-26 11:25:07 -04:00
2021-09-18 10:07:51 -04:00
2021-09-01 21:08:13 +02:00
2021-07-15 20:15:56 -04:00
2021-09-25 07:44:15 +05:30
2021-04-02 19:54:36 +03:00
2020-07-05 15:29:36 -04:00
2021-09-20 16:50:37 -04:00
2021-09-20 16:50:16 -04:00
2021-09-20 16:50:16 -04:00
2020-06-28 21:01:53 -04:00
2021-09-20 16:50:16 -04:00
2020-08-21 19:31:38 +05:30
2020-05-15 18:00:49 -07:00
2021-09-20 16:50:37 -04:00
2021-08-17 19:43:01 -07:00
2020-08-21 19:28:37 +05:30
2021-09-20 16:50:16 -04:00
2021-09-20 16:50:47 -04:00
2021-09-20 16:50:16 -04:00
2021-09-20 16:50:16 -04:00
2021-09-20 16:50:16 -04:00
2021-09-22 21:52:30 -04:00
2021-09-25 07:44:15 +05:30
2021-09-22 21:52:20 -04:00
2021-09-20 16:50:47 -04:00
2020-12-13 08:20:26 -05:00
2021-09-26 11:25:07 -04:00
2021-09-18 08:36:46 -04:00
2020-04-24 10:52:47 +03:00