Skip to content

feat: add input validation to isAbsoluteURL#7326

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

feat: add input validation to isAbsoluteURL#7326
jasonsaayman merged 3 commits intoaxios:v1.xfrom
asmitha-16:js-fix-1

Conversation

@asmitha-16
Copy link
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 jasonsaayman added priority::low A low priority issue commit::feat The PR is related to a feature labels Feb 5, 2026
@jasonsaayman
Copy link
Member

@cubic-dev-ai

@cubic-dev-ai
Copy link
Contributor

cubic-dev-ai bot commented Feb 5, 2026

@cubic-dev-ai

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

Copy link
Contributor

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit::feat The PR is related to a feature priority::low A low priority issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants