Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure file path isn't percent encoded in the plugin #2086

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Oct 7, 2024

Motivation:

In Swift 6, SwiftPM deprecated its Path based API for plugins and moved to Foundation's URL. On Darwin, getting the path of a URL percent encodes it which leads to build issues in Xcode.

Modifications:

  • Make sure the path isn't percent encoded

Result:

Motivation:

In Swift 6, SwiftPM deprecated its Path based API for plugins and moved
to Foundation's URL. On Darwin, getting the path of a URL percent
encodes it which leads to build issues in Xcode.

Modifications:

- Make sure the path isn't percent encoded

Result:

- Plugin works again
- Resolves grpc#2085
@glbrntt glbrntt changed the base branch from main to release/1.x October 7, 2024 16:04
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Oct 7, 2024
@glbrntt glbrntt requested a review from gjcairo October 7, 2024 16:17
@glbrntt glbrntt enabled auto-merge (squash) October 7, 2024 16:25
@glbrntt glbrntt merged commit cfdce07 into grpc:release/1.x Oct 7, 2024
11 of 14 checks passed
@glbrntt glbrntt deleted the v1/fix-plugin-path branch October 7, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
2 participants