Skip to content

Conversation

@hntrl
Copy link
Member

@hntrl hntrl commented Sep 5, 2025

continuation of #8847

Fix issue where directories with special characters (like '%5Fmeta')
would cause 404 errors because paths were not properly URL encoded
when constructing GitHub API requests.

- Apply encodeURIComponent() to path parameter in fetchRepoFiles method
- Add unit test to verify proper encoding of paths with special characters
@changeset-bot
Copy link

changeset-bot bot commented Sep 5, 2025

⚠️ No Changeset found

Latest commit: 9dac106

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
langchainjs-docs Ready Ready Preview Comment Sep 5, 2025 7:20pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
langchainjs-api-refs Ignored Ignored Sep 5, 2025 7:20pm

@hntrl hntrl merged commit 545bab8 into main Sep 5, 2025
36 checks passed
@hntrl hntrl deleted the hunter/fix-github-loader-url-encoding branch September 5, 2025 19:24
@dd-eg-user
Copy link

Thanks for getting this merged @hntrl !

since there is no changeset, how does this get released into the wild?

@hntrl
Copy link
Member Author

hntrl commented Sep 5, 2025

@dd-eg-user We're just using changesets for tracking right now. The latest community version was released alongside core in this PR

christian-bromann pushed a commit that referenced this pull request Sep 9, 2025
Co-authored-by: Dylan Dignan <dylan.dignan@epicgames.com>
hntrl added a commit that referenced this pull request Oct 14, 2025
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.

4 participants