Wunderbyte-GmbH / moodle-local_wunderbyte_table

Wunderbyte Table
Other
4 stars 5 forks source link

incorrect use of PARAM_RAW #35

Closed danmarsden closed 8 months ago

danmarsden commented 9 months ago

https://github.com/Wunderbyte-GmbH/moodle-local_wunderbyte_table/blob/main/download.php#L34

Looks like the hash is a simple md5 - which doesn't contain scripts or many special chars - better to use PARAM_TEXT or even PARAM_ALPHANUMEXT which I think covers all md5