GoogleCloudPlatform / cloud-run-button

Let anyone deploy your GitHub repos to Google Cloud Run with a single click
https://cloud.run
Apache License 2.0
525 stars 91 forks source link

redirector: chrome 85 referer hotfix #196

Closed ahmetb closed 3 years ago

ahmetb commented 3 years ago

With Chrome 85 rolling out, we now get only "Referer: https://github.com" from GitHub.

To mitigate this temporarily, this page shows a form when this situation occurs. User is asked to provide the previous page's URL. (URL params provided to deploy.cloud.run e.g. ?cloudshell_xyz are still preserved.)

Once GitHub and GitLab fixes this, we can remove this code.

cc: @jamesward