Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Add filetype check for updatephoto #207

Merged
merged 4 commits into from
Nov 7, 2023

Conversation

lordidiot
Copy link

Closes #170 found during PE-D

@lordidiot lordidiot added this to the v1.4 milestone Nov 7, 2023
@lordidiot lordidiot requested a review from VN-Hao November 7, 2023 04:54
Copy link

@limjunxian1 limjunxian1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! tried and tested with files that are non jpg/png and command will block the updating of the photo! thanks for solving the bug raised!

@lordidiot lordidiot merged commit e706707 into AY2324S1-CS2103T-T13-2:master Nov 7, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PE-D][Tester D] Possible to upload a pdf as photo using updatephoto
2 participants