GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — In storage.connection.Connection.get_bucket, determine if sending non-URL-encoded bucket name is safe · Issue #165 · googleapis/google-cloud-python

In storage.connection.Connection.get_bucket, determine if sending non-URL-encoded bucket name is safe #165

New issue
Copy link
New issue
Copy link
Closed
Closed
In storage.connection.Connection.get_bucket, determine if sending non-URL-encoded bucket name is safe#165
Copy link
Assignees
tseaver
Labels
🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Milestone
Storage Stable

Description

@dhermes
dhermes
opened on Sep 22, 2014
Issue body actions

From TODO:

    # TODO: URL-encode the bucket name to be safe?

See storage.connection.Connection.get_bucket for relevant code and #146 for some context.

git blame output

b7f1b774 (JJ Geewax   2014-01-29 18:02:29 -0500 286)     # TODO: URL-encode the bucket name to be safe?

Activity

Next
  1. tseaver
    added
    api: storageIssues related to the Cloud Storage API.
    on Sep 22, 2014
  2. silvolu
    added this to the This milestone has been deleted milestone on Sep 24, 2014
  3. tseaver commented on Oct 31, 2014

    @tseaver
    tseaver
    on Oct 31, 2014
    Contributor
    More actions

    See the API requirements for bucket names. URL encoding isn't really the right check.

    Note the BucketNameUnavailable error under 409 Conflict in the HTTP status codes API doc: it appears that the back-end will check / enforce the requirements.

  4. tseaver commented on Nov 3, 2014

    @tseaver
    tseaver
    on Nov 3, 2014
    Contributor
    More actions

    @silvolu @jgeewax I recommend closing this issue.

  5. tseaver commented on Nov 7, 2014

    @tseaver
    tseaver
    on Nov 7, 2014
    Contributor
    More actions

    I take it back: see #354. In particular, / is a valid character in an object name: we need to urlencode the name to support that.

  6. tseaver
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Nov 7, 2014
  7. tseaver commented on Nov 7, 2014

    @tseaver
    tseaver
    on Nov 7, 2014
    Contributor
    More actions

    Oy, #354 is about object names, not bucket names.

  8. jgeewax commented on Nov 7, 2014

    @jgeewax
    jgeewax
    on Nov 7, 2014
    Contributor
    More actions

    Yes, you're correct. For bucket names, escapable characters shouldn't be valid anyway. For objects, slashes are an issue. I think you're correct that we should close the issue.

  9. tseaver
    closed this as completedon Nov 7, 2014
  10. jgeewax
    modified the milestones: Storage Stable, This milestone has been deleted on Jan 30, 2015
  11. yoshi-automation
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Apr 6, 2020
  12. JustinBeckwith
    assigned
    tseaver
    on Feb 1, 2021
  13. atulep
    added a commit that references this issue on Apr 3, 2023

    chore: new owl bot post processor docker image (#165)

    9e2f5d7
  14. 93 remaining items

  15. parthea
    added 8 commits that reference this issue on Nov 24, 2025

    chore(python): add .github/CODEOWNERS as a templated file (#165)

    19cb6ba

    chore: release 1.12.0 (#165)

    8019311

    chore: update release_level in repo-metadata.json (#165)

    5f1478a

    tests: add coverage for skip < offset case (#165)

    f355743

    build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /synthtool/g…

    1c8e642

    chore(deps): update all dependencies (#165)

    397dc4c

    chore: migrate to main branch (#165)

    8d17657

    Add documentation around oauth2client deprecation (#165)

    4549789
  16. parthea
    added 3 commits that reference this issue on Mar 2, 2026

    feat: support python 3.14 (#165)

    ede8370

    chore: librarian release pull request: 20251215T173820Z (#167)

    79d6183

    chore(deps): update all dependencies (#165)

    5d486de
  17. parthea
    added 3 commits that reference this issue on Mar 9, 2026

    chore: setup release 1.0.0 (#165)

    e672d51

    chore: release 1.0.0 (#167)

    9f78c53

    build: switch to release-please for tagging (#165)

    6e1420c
  18. ohmayr
    added a commit that references this issue on Mar 31, 2026

    chore(deps): update all dependencies (#165)

    094b02c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    • Storage Stable

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.