Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Current Version
-
Fix Version/s: TAG 2016/17 Sprint 1
-
Component/s: OIOIOI
-
Labels:None
Description
Source code size is limited to, by default, 100KB when uploading a file:
https://github.com/sio2project/oioioi/blob/master/oioioi/programs/controllers.py#L414
but it's not checked when code is pasted or uploaded through a drag-and-drop method. Both mentioned flows are merged here:
https://github.com/sio2project/oioioi/blob/master/oioioi/programs/controllers.py#L357
It's important, as some programming tasks depend on limitation of source size.
https://github.com/sio2project/oioioi/blob/master/oioioi/programs/controllers.py#L414
but it's not checked when code is pasted or uploaded through a drag-and-drop method. Both mentioned flows are merged here:
https://github.com/sio2project/oioioi/blob/master/oioioi/programs/controllers.py#L357
It's important, as some programming tasks depend on limitation of source size.
https://gerrit.sio2project.mimuw.edu.pl/2653
SIO-1836#close Check the length of the pasted codeChange-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b