Skip to content

fix: syllabus upload paths containing spaces - #116

Open
armutlutost wants to merge 1 commit into
BCStudentSoftwareDevTeam:developmentfrom
armutlutost:fix/98-preserve-upload-path-spaces
Open

armutlutost wants to merge 1 commit into
BCStudentSoftwareDevTeam:developmentfrom
armutlutost:fix/98-preserve-upload-path-spaces

Conversation

@armutlutost

Copy link
Copy Markdown

What & why

Fix syllabus uploads when the application or upload directory contains spaces.

Closes #98

Changes

  • Preserve spaces in course directory names.
  • Preserve spaces when constructing saved file paths.
  • Store the same path in the database as the path used on disk.

Testing

  • python -m py_compile app/logic/getUploads.py app/uploads.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix file upload path when parent directories have spaces

1 participant