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

Do not save absolute path in database #141

Open
Nictheboy opened this issue Apr 2, 2024 · 0 comments
Open

Do not save absolute path in database #141

Nictheboy opened this issue Apr 2, 2024 · 0 comments
Assignees

Comments

@Nictheboy
Copy link
Contributor

For safety concerns, maybe it's better to save avatar directory in .env and save filename in database, and use https://www.npmjs.com/package/path-join-safe to combine them.

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

No branches or pull requests

2 participants