KEMBAR78
CC-6280: Correctly handle image names that contain a slash by gpanders · Pull Request #11007 · cloudflare/workers-sdk · GitHub
Skip to content

Conversation

@gpanders
Copy link
Member

Fixes CC-6280.

When checking if an image contains a URL, also check if the host contains a . or : character. This is the same test Docker itself uses.

In particular, this means that an image like foo/bar:abc will no longer be considered a URL for a host named foo, and will instead be (correctly) considered an image with a slash in the name.


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: bug fix
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: not present in V3

@gpanders gpanders added the skip-v3-pr Skip validation of presence of a v3 backport PR label Oct 17, 2025
@gpanders gpanders requested review from a team as code owners October 17, 2025 21:07
@changeset-bot
Copy link

changeset-bot bot commented Oct 17, 2025

🦋 Changeset detected

Latest commit: e48cfb5

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

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

Copy link
Contributor

@emily-shen emily-shen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😭 thanks

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Oct 17, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 17, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@11007

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@11007

miniflare

npm i https://pkg.pr.new/miniflare@11007

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@11007

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@11007

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@11007

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@11007

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@11007

wrangler

npm i https://pkg.pr.new/wrangler@11007

commit: e48cfb5

@github-project-automation github-project-automation bot moved this from Approved to In Review in workers-sdk Oct 17, 2025
@github-project-automation github-project-automation bot moved this from In Review to Approved in workers-sdk Oct 17, 2025
@emily-shen emily-shen merged commit cf16deb into main Oct 20, 2025
49 of 54 checks passed
@emily-shen emily-shen deleted the push-wzpzyktwktov branch October 20, 2025 20:16
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-v3-pr Skip validation of presence of a v3 backport PR

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants