Closed (fixed)
Project:
Drush
Component:
Core Commands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Aug 2011 at 18:23 UTC
Updated:
4 Jan 2014 at 01:11 UTC
Jump to comment: Most recent
when remote call is to Windows OS is invoked, the command being sent has path value escaped with backslash like the example below:
winrs -r:remotehost.com "drush.bat --uri=http://remotehost.com/drupal --root=\"C:\\\\inetpub\\\\wwwroot\\\\drupal\" status"
This does not work as quotes should be escaped with carret symbol (^). So the corresponding command should like the following:
winrs -r:remotehost.com "drush.bat --uri=http://remotehost.com/drupal --root=^"C:\\\\inetpub\\\\wwwroot\\\\drupal^" status"
Attached patch escapes single and double quotes with carret character on Windows OS.
I am not sure how this will affect the rest of the escaping calls but it seems to work fine.
| Comment | File | Size | Author |
|---|---|---|---|
| quotes_win_escape.patch | 745 bytes | kulov |
Comments
Comment #1
greg.1.anderson commentedCommitted to master.