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 — storage: Use standard URL to use path instead of subdomain for bucket by phw · Pull Request #638 · googleapis/google-cloud-node

Conversation

@phw

@phw phw commented Jun 4, 2015

Copy link
Copy Markdown
Contributor

Fixes the SSL certificate being invalid for buckets containing dots.

E.g. if you want to access the bucket mybucket.example.com without this patch this results in the URL https://mybucket.example.com.storage.googleapis.com/ for which the SSL certificate is not valid (the certificate captures direct subdomains only). This patch uses the equally generic URL https://storage.googleapis.com/mybucket.example.com/.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@phw
storage: Use standard URL to use the path instead of subdomain for bu…
ba888bc
…cket.

Fixes the SSL certificate being invalid for buckets containing dots.
@googlebot

googlebot commented Jun 4, 2015

Copy link
Copy Markdown

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@googlebot googlebot added the cla: no This human has *not* signed the Contributor License Agreement. label Jun 4, 2015
@phw

phw commented Jun 4, 2015

Copy link
Copy Markdown
Contributor Author

For reference: This bugs was introduced in 93d7a12

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus

stephenplusplus commented Jun 4, 2015

Copy link
Copy Markdown
Contributor

Cool, thanks. This should resolve #624 then as well, right?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@phw

phw commented Jun 4, 2015

Copy link
Copy Markdown
Contributor Author

I signed it!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@googlebot

googlebot commented Jun 4, 2015

Copy link
Copy Markdown

CLAs look good, thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@googlebot googlebot added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Jun 4, 2015
@stephenplusplus

stephenplusplus commented Jun 4, 2015

Copy link
Copy Markdown
Contributor

Do you want to fix the tests or have me worry about it?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@phw

phw commented Jun 4, 2015

Copy link
Copy Markdown
Contributor Author

I think that should fix #624 and it looks IMHO better than the fix provided there (seems a bit hacky). Will fix the unit test in a moment.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@phw
storage: Fixed unit test for file download URI change
c3c16dd
@phw

phw commented Jun 4, 2015

Copy link
Copy Markdown
Contributor Author

Done. Or do you prefer the commits squashed together?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus

stephenplusplus commented Jun 4, 2015

Copy link
Copy Markdown
Contributor

This is perfect, thanks very much!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

stephenplusplus added a commit that referenced this pull request Jun 4, 2015
@stephenplusplus
Merge pull request #638 from phw/storage-fix-generic-url
8e98bdf
storage: Use standard URL to use path instead of subdomain for bucket
@stephenplusplus
stephenplusplus merged commit 8e98bdf into googleapis:master Jun 4, 2015
@stephenplusplus stephenplusplus mentioned this pull request Jun 4, 2015
Use alternate Storage.Object.get API URL pattern to avoid SSL certifi… #624
Closed
@phw

phw commented Jun 4, 2015

Copy link
Copy Markdown
Contributor Author

Thank you very much, never got anything merged upstream that fast. Saves me some headaches for the deployment today :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@phw
phw deleted the storage-fix-generic-url branch June 4, 2015 13:51
@stephenplusplus

stephenplusplus commented Jun 4, 2015

Copy link
Copy Markdown
Contributor

Great! Never fear submitting patches and ideas here, we'll always get back pretty quickly :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Jun 10, 2015
use path format for public URL GoogleCloudPlatform/nodejs-getting-started#3
Merged
use path format for public URL GoogleCloudPlatform/nodejs-getting-started#4
Merged
use path format for public URL GoogleCloudPlatform/nodejs-getting-started#5
Merged
@sofisl sofisl mentioned this pull request Oct 11, 2022
migrate code from googleapis/nodejs-language #3395
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Oct 11, 2022
@gcf-owl-bot
docs(badges): tweak badge to use new preview/stable language (#1314) (#…
8d99a54
…638)
sofisl pushed a commit that referenced this pull request Oct 13, 2022
@gcf-owl-bot @sofisl
docs(badges): tweak badge to use new preview/stable language (#1314) (#…
92c426b
…638)
@sofisl sofisl mentioned this pull request Nov 10, 2022
migrate code from googleapis/nodejs-translate #3520
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Nov 10, 2022
Benjamin E. Coe
build: compile-protos should be part of prepare (#638)
254ba13
We should be running `compile-protos` as part of prepare, do so.

Fixes #632
@sofisl sofisl mentioned this pull request Nov 11, 2022
migrate code from googleapis/nodejs-dialogflow #3546
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Nov 11, 2022
@renovate-bot
chore(deps): update dependency ts-loader to v8 (#638)
e9fb789
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ts-loader](https://togithub.com/TypeStrong/ts-loader) | devDependencies | major | [`^7.0.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/ts-loader/7.0.5/8.0.0) |

---

### Release Notes

<details>
<summary>TypeStrong/ts-loader</summary>

### [`v8.0.0`](https://togithub.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md#v800)

[Compare Source](https://togithub.com/TypeStrong/ts-loader/compare/v7.0.5...v8.0.0)

-   [Support for symlinks in project references](https://togithub.com/TypeStrong/ts-loader/pull/1136) - thanks [@&#8203;sheetalkamat](https://togithub.com/sheetalkamat)!
-   `ts-loader` now supports TypeScript 3.6 and greater **BREAKING CHANGE**

</details>

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/nodejs-dialogflow).
sofisl pushed a commit that referenced this pull request Nov 17, 2022
@renovate-bot
chore(deps): update dependency @types/node to v16 (#638)
1ae7a5c
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | [`^14.17.3` -> `^16.0.0`](https://renovatebot.com/diffs/npm/@types%2fnode/14.17.32/16.11.6) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.11.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.11.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.11.6/compatibility-slim/14.17.32)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.11.6/confidence-slim/14.17.32)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: "after 9am and before 3pm" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-compute).
@sofisl sofisl mentioned this pull request Nov 17, 2022
migrate code from googleapis/nodejs-compute #3666
Merged
4 tasks
miguelvelezsa pushed a commit that referenced this pull request Jul 23, 2025
@renovate-bot @alexander-fenster
chore(deps): update dependency typescript to ~3.7.0 (#638)
2c29525
GautamSharda pushed a commit that referenced this pull request Jan 14, 2026
@renovate-bot
chore(deps): update dependency gaxios to v5 (#638)
9588c8f
GautamSharda pushed a commit that referenced this pull request Jan 15, 2026
@renovate-bot
chore(deps): update dependency gaxios to v5 (#638)
297b694
@GautamSharda GautamSharda mentioned this pull request Jan 20, 2026
chore: migrate code from googleapis/nodejs-error-reporting #7019
Closed
4 tasks
miguelvelezsa pushed a commit that referenced this pull request Jan 28, 2026
@renovate-bot
fix(deps): update dependency @grpc/grpc-js to v0.7.8 (#638)
c952598
@miguelvelezsa miguelvelezsa mentioned this pull request Jan 28, 2026
migrate code from googleapis/nodejs-datastore #7053
Closed
@sofisl sofisl mentioned this pull request Feb 4, 2026
migrate code from googleapis/nodejs-logging-bunyan #7136
Closed
4 tasks
sofisl pushed a commit that referenced this pull request Feb 4, 2026
@gcf-owl-bot
build(node): add new jsteam + enforce branches up-to-date (#1451) (#638)
5474178
Source-Link: googleapis/synthtool@cd78529
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:ddb19a6df6c1fa081bc99fb29658f306dd64668bc26f75d1353b28296f3a78e6
This was referenced Feb 4, 2026
migrate code from googleapis/nodejs-logging-bunyan #7137
Closed
migrate code from googleapis/nodejs-logging-bunyan #7138
Merged
migrate code from googleapis/nodejs-datastore #7148
Closed
sofisl pushed a commit that referenced this pull request Feb 5, 2026
@renovate-bot
fix(deps): update dependency @grpc/grpc-js to v0.7.8 (#638)
480c3fe
@GautamSharda GautamSharda mentioned this pull request Feb 5, 2026
migrate code from googleapis/nodejs-error-reporting #7169
Closed
4 tasks
GautamSharda pushed a commit that referenced this pull request Feb 5, 2026
@renovate-bot
chore(deps): update dependency gaxios to v5 (#638)
e8fff77
@sofisl sofisl mentioned this pull request Feb 17, 2026
migrate code from googleapis/nodejs-datastore #7263
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Feb 17, 2026
@renovate-bot
fix(deps): update dependency @grpc/grpc-js to v0.7.8 (#638)
1872b58
sofisl pushed a commit that referenced this pull request Feb 25, 2026
@jkwlui
feat: introduce v4 signed url (#637)
5923ddf
* feat: v4 signed url WIP

* make version an optinoal

* lint

* add required host header

* fix canonical query params joining

* add test for defaulting to v2

* fix v4 signing with test

* fix tests

* refactor post-signing url construction v2/v4

* add v4 tests: response-content-type and generate parameters

* convert signature to HEX

* add conformance test

* npm run fix

* remove reduntant toLowerCase

* do not promisify getDate()

* add system-test for v4 signing

* run conformance test along with system test

* fix tests

* add content-md5 and content-type to signed headers if given

* Object.entries in not ES5

* npm run fix

* split out conformance test

* test: invalid version param given

* mock out Date when testing instead of override Date

* use Array.map to build canonical query

* refactor: use dateformat library instead of writing a function

* refactor: remove unused

* remove reference to deleted methods

* refactor: use string interpolation and dot accessor

* refactor: use method chaining

* add a comment about singled valued header

* refactor signedHeaders

* Number(x)

* refactor: use query-string module as url.parse is deprecated

* npm run fix

* use query-string to build canonicalQueryParams

* refactor: verb => method

* refactor: use sinon.FakeTimers instead of timekeeper

* npm run fix

* use async/await for new system-test

* use async/await for new test (2)

* convert getSignedUrl tests to async/await

* refactor: correctly filter out undefined header values

* npm run fix

* make v4 multi-valued header delimiter consistent with v2, (single `,`, no space)

* copy stack trace

* fix: replace ALL sequential spaces

* OutgoingHttpHeaders use generic type .map; rename flattenObject => objectEntries

* refactor: use build-in querystring

* break up v2/v4 signed url query interface

* add comments about the construction of canonical headers

* npm run fix

* git merge failed to put code in right place

* test: assert SigningError thrown

* test(v4): resumable upload

* prefer string.includes over indexOf

* npm run fix

* docs: add a note on POST and X-Goog-Resumable

* SEVEN_DAYS = 604800

* emit warning when using default version

* emitWarning if using default version for signing

* restore stub

* add new line

* test: v4 signed URL: conformance test (#638)

* Revert "split out conformance test"

This reverts commit ce00255c738e97bf6e3e602f7cca23fae3793d05.

* sync conformance-test cases; parse cases without modification

* this.skip

* refactor: lift interface

* remove default v2 warning

* docs(samples): Samples for v4 Signed URL (#654)

* remove timeout on conformance-test

* npm run fix
sofisl pushed a commit that referenced this pull request Mar 17, 2026
@danielbankhead
Revert "fix(deps): update dependency uuid to v10 (#629)" (#638)
e78a679
This reverts commit 6ff684e6e6e5f4e5e6d270685b2ac0e4d28bc964.
sofisl pushed a commit that referenced this pull request Mar 17, 2026
@renovate-bot @d-goog
fix(deps): update dependency google-logging-utils to v1 (#638)
8256c0b
Co-authored-by: d-goog <[email protected]>
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request Mar 18, 2026
@jkwlui
feat: introduce v4 signed url (googleapis#637)
424f657
* feat: v4 signed url WIP

* make version an optinoal

* lint

* add required host header

* fix canonical query params joining

* add test for defaulting to v2

* fix v4 signing with test

* fix tests

* refactor post-signing url construction v2/v4

* add v4 tests: response-content-type and generate parameters

* convert signature to HEX

* add conformance test

* npm run fix

* remove reduntant toLowerCase

* do not promisify getDate()

* add system-test for v4 signing

* run conformance test along with system test

* fix tests

* add content-md5 and content-type to signed headers if given

* Object.entries in not ES5

* npm run fix

* split out conformance test

* test: invalid version param given

* mock out Date when testing instead of override Date

* use Array.map to build canonical query

* refactor: use dateformat library instead of writing a function

* refactor: remove unused

* remove reference to deleted methods

* refactor: use string interpolation and dot accessor

* refactor: use method chaining

* add a comment about singled valued header

* refactor signedHeaders

* Number(x)

* refactor: use query-string module as url.parse is deprecated

* npm run fix

* use query-string to build canonicalQueryParams

* refactor: verb => method

* refactor: use sinon.FakeTimers instead of timekeeper

* npm run fix

* use async/await for new system-test

* use async/await for new test (2)

* convert getSignedUrl tests to async/await

* refactor: correctly filter out undefined header values

* npm run fix

* make v4 multi-valued header delimiter consistent with v2, (single `,`, no space)

* copy stack trace

* fix: replace ALL sequential spaces

* OutgoingHttpHeaders use generic type .map; rename flattenObject => objectEntries

* refactor: use build-in querystring

* break up v2/v4 signed url query interface

* add comments about the construction of canonical headers

* npm run fix

* git merge failed to put code in right place

* test: assert SigningError thrown

* test(v4): resumable upload

* prefer string.includes over indexOf

* npm run fix

* docs: add a note on POST and X-Goog-Resumable

* SEVEN_DAYS = 604800

* emit warning when using default version

* emitWarning if using default version for signing

* restore stub

* add new line

* test: v4 signed URL: conformance test (googleapis#638)

* Revert "split out conformance test"

This reverts commit ce00255c738e97bf6e3e602f7cca23fae3793d05.

* sync conformance-test cases; parse cases without modification

* this.skip

* refactor: lift interface

* remove default v2 warning

* docs(samples): Samples for v4 Signed URL (googleapis#654)

* remove timeout on conformance-test

* npm run fix
GautamSharda pushed a commit that referenced this pull request Mar 23, 2026
@yoshi-automation
build: update CI and build scripts (#638)
be13c53
@GautamSharda GautamSharda mentioned this pull request Mar 23, 2026
migrate code from googleapis/nodejs-bigtable #7852
Merged
4 tasks
GautamSharda pushed a commit that referenced this pull request Mar 25, 2026
@yoshi-automation @GautamSharda
build: update CI and build scripts (#638)
5b58830
shivanee-p pushed a commit that referenced this pull request Mar 27, 2026
@yoshi-automation @shivanee-p
build: update CI and build scripts (#638)
640a281
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request May 5, 2026
@yoshi-automation @thiyaguk09
build: update CI and build scripts (googleapis#638)
1e0ee9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@phw @googlebot @stephenplusplus
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.