8000 Validate submitted URL validity before accessing URL by bobvandevijver · Pull Request #3545 · bolt/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Validate submitted URL validity before accessing URL #3545

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

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

bobvandevijver
Copy link
Member

Fixes two oversights:

  • Validate that the submitted URL is an actual http(s) URL by utilising the available Symfony constraint
  • Download the temporary file to a dedicated folder using a randomised name in the configured Symfony cache folder instead of the public assets folder

@bobvandevijver bobvandevijver merged commit 34c387b into master Mar 10, 2025
20 checks passed
@bobvandevijver bobvandevijver deleted the validate-avatar-url branch March 10, 2025 21:00
bobvandevijver added a commit that referenced this pull request Mar 10, 2025
Validate submitted URL validity before accessing URL
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.

2 participants
0