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

Blueprints: Use ? instead of / to CORS Proxy URLs #1899

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

adamziel
Copy link
Collaborator

Makes GitDirectoryResource (introduced in #1858) relay the requests through /cors-proxy.php?{url} instead of /cors-proxy.php/{url}. This makes it compatible with the actual cors-proxy.php script Playground ended up shipping.

Testing instructions

None, this only works in production. Maybe you could run the Blueprint from #1858 and confirm in the network tools that it's actually using the ? instead of /.

Makes GitDirectoryResource (introduced in #1858) relay the
requests through `/cors-proxy.php?{url}` instead of
`/cors-proxy.php/{url}`. This makes it compatible with the actual
`cors-proxy.php` script Playground ended up shipping.

 ## Testing instructions

None, this only works in production.
@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Feature] GitHub integration labels Oct 15, 2024
@adamziel adamziel merged commit 85f8686 into trunk Oct 15, 2024
9 checks passed
@adamziel adamziel deleted the use-qs-in-cors-proxy branch October 15, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] GitHub integration [Type] Bug An existing feature does not function as intended
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant