Closed furkan-bilgin closed 1 year ago
This is correct. Maybe add RegEx control for URL. I am not sure. Any ideas other than removing it?
Storing the base URL ID would be the safer option. Entrusting unsanitized URLs that our back-end uses to clients is never a good idea. One way of implementing that would be to store the URL's index that we are going to use, instead of the URL itself.
Thanks. Commit: 84816d3
"eksi_sozluk_base_url" cookie can be set to any arbitrary URL by the client, causing the server to send requests to websites besides Ekşi Sözlük. This has a potential to be exploited in some way.