Skip to content

docs: Add comment to clarify url-encoding of object names#248

Merged
camiekim merged 2 commits intoGoogleCloudPlatform:mainfrom
camiekim:b/371471777
Oct 23, 2024
Merged

docs: Add comment to clarify url-encoding of object names#248
camiekim merged 2 commits intoGoogleCloudPlatform:mainfrom
camiekim:b/371471777

Conversation

@camiekim
Copy link
Copy Markdown
Contributor

Per b/371471777

@camiekim camiekim requested review from a team as code owners October 23, 2024 20:31
@product-auto-label product-auto-label Bot added api: workflows Issues related to the GoogleCloudPlatform/workflows-samples API. samples Issues that are directly related to samples. labels Oct 23, 2024
@camiekim camiekim merged commit cc695f3 into GoogleCloudPlatform:main Oct 23, 2024
Copy link
Copy Markdown
Contributor

@rspruyt-google rspruyt-google left a comment

Choose a reason for hiding this comment

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

We could go this route, although my suggestion would be

-object_name: ${text.url_encode("FILE_NAME.txt")}

the encoding is a no-op in this case, but safe for uses of both "FILE_NAME.txt" and "XX/FILE_NAME.txt" to be more direct about it for anyone copying and pasting. Here and the other file. Your call.

@camiekim
Copy link
Copy Markdown
Contributor Author

Sure, sounds good, will open a PR

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

Labels

api: workflows Issues related to the GoogleCloudPlatform/workflows-samples API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants