mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-26 01:15:52 +03:00
[PR #143] [MERGED] Fix code scanning alert no. 12: Full server-side request forgery #233
Labels
No labels
AI Content Agents
AI Content Strategy
AI Content planning
AI Marketing Tools
AI SEO
AI personalization
AI writer
ALwrity Copi-lot
Alwrity web search
Anthropic
DeepSeek
Gemini AI
Integration
LLM
OnBoarding
OnBoarding
RAG knowledgebase Memory
bug
documentation
enhancement
good first issue
help wanted
invalid
openai
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ALwrity#233
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AJaySi/ALwrity/pull/143
Author: @AJaySi
Created: 1/5/2025
Status: ✅ Merged
Merged: 1/14/2025
Merged by: @AJaySi
Base:
main← Head:alert-autofix-12📝 Commits (2)
35061c0Fix code scanning alert no. 12: Full server-side request forgery02c642cMerge branch 'main' into alert-autofix-12📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
lib/ai_seo_tools/wordcloud.py(+8 -0)📄 Description
Fixes https://github.com/AJaySi/AI-Writer/security/code-scanning/12
To fix the problem, we need to validate the user-provided URL to ensure it only allows requests to authorized domains. One way to achieve this is by maintaining a list of allowed domains and checking if the user-provided URL belongs to one of these domains before making the request.
Suggested fixes powered by Copilot Autofix. Review carefully before merging.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.