Skip to content

Conversation

mhassan1
Copy link
Contributor

This PR fixes the logic in buildFullPath to properly handle the case where allowAbsoluteUrls is false and baseURL is undefined; currently, it throws a TypeError.

Resolves #6832.

@mhassan1
Copy link
Contributor Author

@jasonsaayman Please take a look when you get a chance. This bug will inevitably hit people who start opting in to a default allowAbsoluteUrls: false.

Copy link

@thatguyinabeanie thatguyinabeanie left a comment

Choose a reason for hiding this comment

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

1 smol change

@jasonsaayman jasonsaayman merged commit f10c2e0 into axios:v1.x Mar 18, 2025
21 of 27 checks passed
@github-actions github-actions bot mentioned this pull request Mar 19, 2025
Copy link
Contributor

Hi, @mhassan1! This PR has been published in v1.8.4 release. Thank you for your contribution ❤️!

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.

TypeError when specifying allowAbsoluteUrls: false without baseURL
3 participants