Skip to content

Conversation

@rjhuijsman
Copy link
Contributor

Description

This PR introduces a shim to side-step an issue awaiting a server-side fix: when receiving a GCS event for a nested object (name has "slashes/in/it"), the "mediaLink" field contains a URL that has literal slashes ("/") when it should contain URL-escaped slashes ("%2F"). The code added in this PR fixes that.

This PR also removes a previous shim that is no longer needed: GCS no longer generates spurious events on function deployment, hence the code we added to skip those invocations can be removed.

@laurenzlong laurenzlong assigned rjhuijsman and unassigned laurenzlong May 4, 2017
@rjhuijsman rjhuijsman merged commit 22897f8 into master May 4, 2017
@rjhuijsman rjhuijsman deleted the rjh.gcs-medialink branch May 4, 2017 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants