Commit 929562e9 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: ConvertDialog: Escape filename in sout (fix #8436 part2)

parent 7bd70d43
...@@ -146,7 +146,8 @@ void ConvertDialog::close() ...@@ -146,7 +146,8 @@ void ConvertDialog::close()
if( displayBox->isChecked() ) if( displayBox->isChecked() )
mrl += "duplicate{dst=display,dst="; mrl += "duplicate{dst=display,dst=";
mrl += "std{access=file{no-overwrite},mux=" + profile->getMux() mrl += "std{access=file{no-overwrite},mux=" + profile->getMux()
+ ",dst='" + fileLine->text() + "'}"; + ",dst='" + fileLine->text().replace( QChar('\''), "\\\'" )
+ "'}";
if( displayBox->isChecked() ) if( displayBox->isChecked() )
mrl += "}"; mrl += "}";
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment