The SIO2 project
  1. The SIO2 project
  2. SIO-1836

Source size is not checked when submitting through paste/drag-and-drop

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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.

        Activity

        Hide
        Gerrit Gerrit added a comment -
        Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 1
        https://gerrit.sio2project.mimuw.edu.pl/2653

        SIO-1836 #close Check the length of the pasted code

        Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Show
        Gerrit Gerrit added a comment - Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/2653 SIO-1836 #close Check the length of the pasted code Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Hide
        Gerrit Gerrit added a comment -
        Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 2
        https://gerrit.sio2project.mimuw.edu.pl/2653

        SIO-1836 #close Check the length of the pasted code

        Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Show
        Gerrit Gerrit added a comment - Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/2653 SIO-1836 #close Check the length of the pasted code Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Hide
        Gerrit Gerrit added a comment -
        Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 3
        https://gerrit.sio2project.mimuw.edu.pl/2653

        SIO-1836 #close Check the length of the pasted code

        Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b
        Show
        Gerrit Gerrit added a comment - Change Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b, patchset 3 https://gerrit.sio2project.mimuw.edu.pl/2653 SIO-1836 #close Check the length of the pasted code Change-Id: Ia73ab4ce54b592551d4cb1b4314b91c8a3a0ff9b

          People

          • Assignee:
            Szymon AcedaƄski
            Reporter:
            Maciej Matraszek
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: