Skip to content

[storage-resize-images] firebase.extensions.storage-resize-images.v1.complete Cyrillic images names corrupted subject in event #1091

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
georgelviv opened this issue Aug 3, 2022 · 2 comments
Labels
blocked Blocked by an outstanding issue or PR extension: storage-resize-images Related to storage-resize-images extension triaged type: bug Something isn't working

Comments

@georgelviv
Copy link

[READ] Step 1: Are you in the right place?

Yes

[REQUIRED] Step 2: Describe your configuration

  • Extension name: storage-resize-images
  • Extension version: 0.1.28
  • Configuration values (redact info where appropriate):
    • ALLOWED_EVENT_TYPES=firebase.extensions.storage-resize-images.v1.complete

[REQUIRED] Step 3: Describe the problem

Images with Cyrillic text like "фотограія.jpg" event to Eventarc will be sent with wrong subject
image
P.S.
Outputs in data are fin
image

Steps to reproduce:

  1. Install extension with complete event
  2. Deploy cloud function
import {onCustomEventPublished} from "firebase-functions/v2/eventarc";

export const customhandler = onCustomEventPublished(
    "firebase.extensions.storage-resize-images.v1.complete",
    (e) => {
      console.log("it works!", JSON.stringify(e));
    }
);
  1. Observe logs for cloud function
Expected result

Subject in event contains proper name as the filename

Actual result

Subject in event contains corrupted file name

@yamankatby
Copy link
Member

yamankatby commented Aug 3, 2022

HI @georgelviv,
Thank you for reporting this issue, I did recreate the bug successfully. It'll be added to the project board for further investigation

@yamankatby
Copy link
Member

Blocked due to investigating as an Eventarc/CLI issue

@yamankatby yamankatby added type: bug Something isn't working blocked Blocked by an outstanding issue or PR labels Aug 18, 2022
@cabljac cabljac changed the title firebase.extensions.storage-resize-images.v1.complete Cyrillic images names corrupted subject in event [storage-resize-images] firebase.extensions.storage-resize-images.v1.complete Cyrillic images names corrupted subject in event Oct 25, 2022
@cabljac cabljac added the extension: storage-resize-images Related to storage-resize-images extension label Oct 25, 2022
@cabljac cabljac moved this from Needs Acknowledgment to Triaged in [Cloud] Extensions + Functions May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by an outstanding issue or PR extension: storage-resize-images Related to storage-resize-images extension triaged type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants