Corrupted path detected

Created on 26 January 2025, 4 months ago

when upload file name ‏‏Bupa vat May Saudi Airline return corrupted file path

upload any type of files pdf , doc, xlsx , txt , png any type with this name "Bupa vat May Saudi Airline" an alert appears with error from drupal and console have
POST https://localhost/node/add/page?element_parents=field_new_file/widget/0&... 500 (500 Service unavailable (with message))

πŸ› Bug report
Status

Needs work

Version

2.2

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Amer cloudy
  • πŸ‡ΊπŸ‡ΈUnited States lhridley

    From the stackdump you included in your bug report, it appears that this is a bug with the drupal/flysystem_gcs module, which provides the adapter for Google Cloud Storage. That module is maintained by a different maintainer.

    I am moving this issue to that project.

  • πŸ‡©πŸ‡ͺGermany skrug Bamberg

    This is not a problem of flysystem but your filename. This contains an invalide character. It is pretty hard to see. The character after "2025-01/" is an invisible character of character code 8207 (https://www.codetable.net/decimal/8207) and therefore invalid. Be sure to sanitize your filename first before using flysystem.
    You can spot this, when you copy the name into the chrome dev tools console. Two dots are appearing after the slash.

    So this is not a bug in flysystem I would say

  • πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels
Production build 0.71.5 2024