Visitar URL original
feat: add input validation to isAbsoluteURL by asmitha-16 · Pull Request #7326 · axios/axios · GitHub
Skip to content

feat: add input validation to isAbsoluteURL - #7326

Merged
jasonsaayman merged 3 commits into
axios:v1.xfrom
asmitha-16:js-fix-1
Feb 5, 2026
Merged

jasonsaayman merged 3 commits into
axios:v1.xfrom
asmitha-16:js-fix-1

Conversation

@asmitha-16

Copy link
Copy Markdown
Contributor

This PR improves isAbsoluteURL by:

  • Adding a type check to ensure only string inputs are evaluated
  • Preventing unexpected behavior for non-string values
  • Improving overall robustness of URL detection

@jasonsaayman jasonsaayman changed the title Add input validation to isAbsoluteURL feat: add input validation to isAbsoluteURL Feb 5, 2026
@jasonsaayman jasonsaayman assigned asmitha-16 and unassigned asmitha-16 Feb 5, 2026
@jasonsaayman

Copy link
Copy Markdown
Member

@cubic-dev-ai

@cubic-dev-ai

cubic-dev-ai Bot commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai

@jasonsaayman I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

This was referenced Feb 10, 2026
ModyQyW added a commit to uni-helper/uni-network that referenced this pull request May 7, 2026
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