Skip to content

Add security check to see if a URL is pointing to internal IP#421

Closed
ZiTao-Li wants to merge 12 commits intoagentscope-ai:mainfrom
ZiTao-Li:zitao/bug_fix
Closed

Add security check to see if a URL is pointing to internal IP#421
ZiTao-Li wants to merge 12 commits intoagentscope-ai:mainfrom
ZiTao-Li:zitao/bug_fix

Conversation

@ZiTao-Li
Copy link
Copy Markdown
Collaborator

@ZiTao-Li ZiTao-Li commented Aug 22, 2024


name: Add security check to see if a URL is pointing to internal IP
about: Create a pull request

Description

As title, and linked to #412

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

url (str): url to be checked

Returns:
bool: True if url is not to interal IP addresses,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove "not" ?And typo "interal" here and above

@DavdGao DavdGao force-pushed the main branch 2 times, most recently from 5fb5e16 to 62d1af6 Compare May 29, 2025 14:21
@DavdGao DavdGao closed this Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants