Skip to content

Uploaded files of certain types can't be opened when downloaded. #472

@sempiterna

Description

@sempiterna

Bug report

When uploading files to a credential (files Tab), certain file types can't be opened anymore after being downloaded again. These filetypes include json and rar files. After inspection, these files appear to be base64 encoded:

data:;base64,encoded data

Manually decoding the data makes the files (the json ones. don't know about the rar files) valid again. So it seems passman is encoding (for safety most likely) these files, and does not decode them when they are being downloaded. Other files such as images/photos are okay.

Steps to reproduce

  1. Upload file in credential
  2. save
  3. download file from credential

Expected behaviour

See top description

Actual behaviour

Files are base64 encoded (see top description)

Configuration

Operating system:
Ubuntu

Browser:
Chrome

Extensions that might cause interference:

Passman version:
2.1.4

Operating system:
Windows 10 Home

cloud server: Nextcloud or ownCloud
Nextcloud

cloud version: (see admin page or version.php)
12.0.2


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions