]> git.lyx.org Git - features.git/commit
Fix bug #9622
authorEnrico Forestieri <forenr@lyx.org>
Fri, 14 Dec 2018 10:41:16 +0000 (11:41 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:51 +0000 (14:39 +0200)
commit889e0f5c36c8bf927e537d42dd37f5786c1c4fc3
tree293d60456f6c8778774da7631de2bfb082ed4044
parent5bcb3dbdb96a693540964e6c71d7a26c31d27b5b
Fix bug #9622

The backslash is the escape character used in our parser. Hence,
when used as a path separator on Windows, it has to be itself
escaped or the path enclosed in either double or single quotes.
Windows users are maybe trained to quote paths containing spaces
but not paths with backslashes. So, we automatically escape the
backslashes when they are not already enclosed in quotes.
src/Format.cpp