Bug 500794

Summary: Fake encoding crash when there's an ampersand in a filename
Product: [Applications] kdenlive Reporter: Ivan <yesideez>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 25.04.0
Sentry Crash Report:

Description Ivan 2025-02-26 23:54:25 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Try rendering a file with an ampersand in the filename
2. 
3. 

OBSERVED RESULT
Renders the file perfectly fine but says it crashed. Leaves the .log file intact (which has the filename as it should be) but the file containing the rendered video has &38; instead of just a & yet plays perfectly fine. There's nothing actually wrong with the file.

EXPECTED RESULT
Should render fine. Which it does but complains it's crashed when it hasn't.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
In my system "kinfo" does not exist!

Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jean-Baptiste Mardelle 2025-03-14 14:22:37 UTC
Thanks for your report, I can confirm the issue
Comment 2 Jean-Baptiste Mardelle 2025-03-14 16:02:49 UTC
Git commit 701e17d06a1a5c4587f1ea58d4f2f39cd8a0db33 by Jean-Baptiste Mardelle.
Committed on 14/03/2025 at 16:02.
Pushed by mardelle into branch 'release/25.04'.

Fix rendering files with an ampersand in name is broken on linux
FIXED-IN: 25.04.0

M  +15   -0    renderer/renderjob.cpp
M  +19   -4    src/dialogs/renderwidget.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/701e17d06a1a5c4587f1ea58d4f2f39cd8a0db33