jupyter / nbgrader

A system for assigning and grading notebooks
https://nbgrader.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.3k stars 317 forks source link

certain characters in assignment names break operations #1843

Open perllaghu opened 1 year ago

perllaghu commented 1 year ago

Tested under ubuntu, with a clean install of jupyterlab & nbgrader into a virtualenv

python 3.10.2 jupyter lab : 4.0.7 nbgrader 0.9.1

Expected behavior

If I can create an assignment name, then I should be able to release, submit, collect, and autograde a test notebook-document

Actual behavior

My deduction is that the troublesome characters are those that throw the rexep used to scan for submission, etc.

... this is #1738 again

Steps to reproduce the behavior

Make a clean install, start jupyterlab, and test with a known-good assignment notebook-document.

Suggested correction

Scan assignment names on creation and exclude certain characters - ie, extend manage_assignments.js et al