Skip to content

fix: escape local agent card paths when building the file URL - #135

Open
ConnorMoss02 wants to merge 1 commit into
a2aproject:mainfrom
ConnorMoss02:fix/card-file-url
Open

ConnorMoss02 wants to merge 1 commit into
a2aproject:mainfrom
ConnorMoss02:fix/card-file-url

Conversation

@ConnorMoss02

Copy link
Copy Markdown
Contributor

Builds the file URL with url.URL{Scheme: "file", Path: path}, so #, ? and % in a local card path are escaped. Added a URL row and a Validate row. They fail without the fix.

Fixes #134

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.

bug: agent card files with #, ? or % in the name can't be loaded

2 participants