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.
Activity
Szymon Acedański
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | Next Sprint [ 12002 ] |
Marcin Mielniczuk
made changes -
Rank | Ranked higher |
Marcin Mielniczuk
made changes -
Assignee | Marcin Mielniczuk [ marmistrz ] |
Szymon Acedański
made changes -
Fix Version/s | TAG 2016/17 Sprint 1 [ 12501 ] | |
Fix Version/s | Next Sprint [ 12002 ] |
Marcin Mielniczuk
made changes -
Status | New [ 10000 ] | Resolved [ 5 ] |
Assignee | Marcin Mielniczuk [ marmistrz ] | Szymon Acedański [ accek ] |
Resolution | Fixed [ 1 ] |
Szymon Acedański
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
119d 54m | 1 | Marcin Mielniczuk | 2016-12-1 13:50 | |||||
|
845d 2h 48m | 1 | Szymon Acedański | 2019-03-26 16:38 |
https://gerrit.sio2project.mimuw.edu.pl/2653
SIO-1836#close Check the length of the pasted codeChange-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b