Files
odoo_source/addons
Jeremy Kersten a60532fcff [FIX] website: accept 'all' google console search key
lstrip remove each letter, and not only once in this order.
So a google console key like googleeef88156 will be never trusted.
'googleeef88156'.lstrip('google') = 'f88156' and not 'eef88156'

Now we ensure that it starts with google or ends with .html and remove
exactly what we know.

To replace with removeprefix/removesuffix once we have py3.9 as minimal
version.

closes odoo/odoo#99776

X-original-commit: 44c08f18de9b2f25d1c716319ad287a409d2384d
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Jérémy Kersten <jke@odoo.com>
2022-09-08 10:42:49 +02:00
..
2022-09-01 19:17:11 +02:00
2022-09-05 16:54:01 +02:00
2022-09-01 19:16:47 +02:00
2022-09-01 21:25:29 +02:00
2022-08-30 20:22:04 +02:00
2022-09-07 09:23:56 +02:00
2022-08-08 12:33:03 +02:00