Coder Social home page Coder Social logo

Comments (6)

Deleplace avatar Deleplace commented on September 1, 2024

Today I tried sharing 2 PDF from the Files app on a Samsung Galaxy S22. The filenames were properly transmitted, in the target web UI and in the resulting ZIP as well.

from cool-maze.

Deleplace avatar Deleplace commented on September 1, 2024

For debugging this issue: note that the backend only sees an opaque encrypted value for the filenames. It cannot see the clear text filenames.

from cool-maze.

Deleplace avatar Deleplace commented on September 1, 2024

Today I tried sharing 2 PDF from the Files app on a Google Pixel 7. The filenames were lost! The contents listed in the ZIP showed up as:

  • undefined
  • 1_undefined

from cool-maze.

Deleplace avatar Deleplace commented on September 1, 2024

When sharing these files individually, from the same Pixel 7, the filenames are properly preserved. They were lost only when shared together in a single action.

from cool-maze.

MaBeuLux88 avatar MaBeuLux88 commented on September 1, 2024

This sounds very similar to my bug. I got the same filenames. No file corruption though. Just file name alterations.

from cool-maze.

Deleplace avatar Deleplace commented on September 1, 2024

While I don't have access to the filenames, I can still extract stats about shares that don't seem to be providing a proper filename.

Results:

  • iOS app mostly unaffected
  • Android app affected: ~7% of files transmitted end up without a proper filename
    • it is possible that some source apps don't provide a filename when sharing a resource
    • but more probably, the Cool Maze Android app failed to properly extract the filename from the Intent
  • no obvious correlation with the OS version (Android 6, 7, 8, 9, 10, 11, 12, 13, 14)
  • no obvious correlation with the smartphone device model
  • no obvious correlation with the mime type of the file
  • no obvious correlation with the number of resources shared in one action. Filenames can be lost either in a single share action, or in a multiple share action.

from cool-maze.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.