LafColITS / Moodle-auth_casattras

A CAS (SSO) authentication module for Moodle that uses releaseed attributes rather than LDAP for user-information.
10 stars 13 forks source link

Raw access of $_GET not allowed #25

Closed danmarsden closed 4 years ago

danmarsden commented 4 years ago

Moodle security guidelines state that we should use optional/required_param instead of raw $_GET access - it would be good to address this:

https://github.com/LafColITS/Moodle-auth_casattras/blob/be1a4582c5f80e05751ab4febc749fde63bfca1d/auth.php#L205

I know there isn't an actual security issue here in the way it's used there, but it does violate the security guidelines which is typically a blocker for approval in the plugins db.

mackensen commented 4 years ago

This was resolved by #22.