Bug #78959 please let us use valid paths on windows
Submitted: 26 Oct 2015 6:32
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Windows Severity:S4 (Feature request)
Version:all OS:Windows
Assigned to: CPU Architecture:Any

[26 Oct 2015 6:32] Shane Bester
Description:
Please let MySQL Server on windows process paths that windows considers valid.
This is an old problem because server was developed by linux-eccentric folks.

I tried to install a server and it didn't understand the valid paths:

basedir=e:\repl\mysql-advanced-5.7.9-winx64
datadir=e:\repl\master1\data

mysqld translates the above \r to a carriage return which is wrong:

E:\repl\mysql-advanced-5.7.9-winx64\bin\
epl\master1\data\

How to repeat:
use \r in a pathname.  Maybe other characters are also incorrectly interrupted.

Suggested fix:
Let windows folks specify valid windows paths.
[26 Oct 2015 6:38] MySQL Verification Team
In specific I disagree with applying this logic to options who take a path or directory name:

"Microsoft Windows path names are specified in option files using (forward) slashes rather than backslashes. If you do use backslashes, double them:"

"You can use the escape sequences “\b”, “\t”, “\n”, “\r”, “\\”, and “\s” in option values to represent the backspace, tab, newline, carriage return, backslash, and space characters. The escaping rules in option files are:"