InjectionApp icon indicating copy to clipboard operation
InjectionApp copied to clipboard

"Learnt compile failed" if path to file contains "&"

Open kohtenko opened this issue 7 years ago • 2 comments

Perhaps simple escaping this symbol will solve this issue.

kohtenko avatar Mar 27 '17 14:03 kohtenko

I think I’ve tried to resolve this in the past and not found it so straightforward.

johnno1962 avatar Mar 27 '17 15:03 johnno1962

The relevant line is 229 in the injectSource.pl script bundle. You could try:

   (my $escaped = $selectedFile) =~ s/([‘ &])/\\$1/g;

johnno1962 avatar Mar 27 '17 18:03 johnno1962