diff --git a/common.c b/common.c index 579b94b70..82e67db42 100644 --- a/common.c +++ b/common.c @@ -927,6 +927,7 @@ wchar_t *escape( const wchar_t *in, case L':': case L'\'': case L'\"': + case L'%': if( escape_all ) *pos++ = L'\\'; *pos++ = *in;