FS#71659 - [caja] context menu scripts: Files containing % in name are not handled correctly
Attached to Project:
Community Packages
Opened by eomanis (eomanis) - Thursday, 29 July 2021, 19:21 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 02 September 2023, 17:24 GMT
Opened by eomanis (eomanis) - Thursday, 29 July 2021, 19:21 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 02 September 2023, 17:24 GMT
|
Details
Description:
Custom scripts in `~/.config/caja/scripts` should receive the selected files or directories as arguments regardless of what their names are, as long as the names do not contain invalid characters such as `NUL` or `/`. Instead, if selected files' names contain, or end with, certain characters such as the percent sign `%` or the single quote `'`, the custom script receives garbled file names as arguments, or the custom script is not run at all. Additional info: * package version(s): `mate-desktop-1.24.1-1`, `caja-1.24.1-1` * config and/or log files etc.: Not applicable * link to upstream bug report, if any: [1] Steps to reproduce: Create a script `~/.config/caja/scripts/custom-script-test` that dumps its arguments to a text file, then call it on various files containing, or ending with, a percent sign or a single quote; also call it on various combinations of such files to see extra crazily mangled arguments [1] https://github.com/mate-desktop/caja/issues/1539 |
This task depends upon
Closed by Antonio Rojas (arojas)
Saturday, 02 September 2023, 17:24 GMT
Reason for closing: Upstream
Saturday, 02 September 2023, 17:24 GMT
Reason for closing: Upstream
Comment by
Buggy McBugFace (bugbot) - Tuesday,
08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2
years. Please reply if you still experience this bug otherwise
this issue will be closed after 1 month.