Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added checks to ensure the page can be created #141

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

Jerakin
Copy link
Contributor

@Jerakin Jerakin commented Feb 19, 2024

Summary

Ensure the name of a page is secure.

Details

  • Checks if a page name is secure through werkzeug.utils.secure_filename.
  • Checks that the page name isn't empty.

Closes #140

@Jerakin Jerakin force-pushed the feat/ensure-safe-name branch 2 times, most recently from 679f505 to 855370c Compare February 19, 2024 22:05
@Linbreux Linbreux merged commit 80efc11 into Linbreux:main Feb 20, 2024
6 checks passed
@Jerakin Jerakin deleted the feat/ensure-safe-name branch February 21, 2024 17:37
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.

Ensure that the page name provided is secure and can be saved to disk.
2 participants