rosedu / vmchecker

Automatic assignment checker
http://vmchecker.cs.pub.ro/
MIT License
36 stars 34 forks source link

Security fixes for the services and the GWT interface. Minor other enhancements. #58

Closed calin-iorgulescu closed 10 years ago

calin-iorgulescu commented 10 years ago

Security fixes:

Enhancements:

valenting commented 10 years ago

Awesome work!

calin-iorgulescu commented 10 years ago

Damn, you're right. I somehow hoped this wouldn't affect things, but it looks like the double session thing messes up the request (req).

The patch looks good to me, feel free to merge. However, I would suggest moving __getUserResults out of services.py into websutil.py. I think it's best if services.py only contains secured stubs.

Good catch!