Skip to content

seems dragfile can't handle filename contains ' or space ? #57

@yurenchen000

Description

@yurenchen000

on linux, if a file path is /tmp/12' 3'
it seems not safe to encode/decode with current scheme?

https://github.com/trzsz/trzsz-go/blob/5622a20/trzsz/drag.go#L73
//I noticed the drag detect logic when I try to adapting to a vte-based terminal (terminator or gnome-terminal)

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