JanReilink
New Pleskian
Username:
TITLE
XML API returns an error when changing a website's document root on Windows-servers
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian 18.0.49 and up
PROBLEM DESCRIPTION
Since Plesk Obsidian 18.0.49, the XML API always returns an error when changing a website's document root on Windows-servers, even when using the current document root:
This is probably caused by this change in 18.0.49: It is no longer possible to change a website’s document root to a directory whose name contains one or more white space characters via XML-RPC. (PPPM-13777)
STEPS TO REPRODUCE
Setting the document root (hosting property
) of a website on a Windows Server using the XML API
ACTUAL RESULT
The error "The specified directory name contains symbols that cannot be used." is returned
EXPECTED RESULT
No error is returned, and the website's document root is updated (or kept the same, if the current value was passed to the API)
ANY ADDITIONAL INFORMATION
This is probably caused by this change in 18.0.49: It is no longer possible to change a website’s document root to a directory whose name contains one or more white space characters via XML-RPC. (PPPM-13777)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
XML API returns an error when changing a website's document root on Windows-servers
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian 18.0.49 and up
PROBLEM DESCRIPTION
Since Plesk Obsidian 18.0.49, the XML API always returns an error when changing a website's document root on Windows-servers, even when using the current document root:
"The specified directory name contains symbols that cannot be used."
This is probably caused by this change in 18.0.49: It is no longer possible to change a website’s document root to a directory whose name contains one or more white space characters via XML-RPC. (PPPM-13777)
STEPS TO REPRODUCE
Setting the document root (hosting property
Code:
www_root
ACTUAL RESULT
The error "The specified directory name contains symbols that cannot be used." is returned
EXPECTED RESULT
No error is returned, and the website's document root is updated (or kept the same, if the current value was passed to the API)
ANY ADDITIONAL INFORMATION
This is probably caused by this change in 18.0.49: It is no longer possible to change a website’s document root to a directory whose name contains one or more white space characters via XML-RPC. (PPPM-13777)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug