Skip to content

Commit

Permalink
Fixes quoting of cmd argument contains space for PhantmJS.
Browse files Browse the repository at this point in the history
Fixes issue SeleniumHQ#6163.
  • Loading branch information
alex-savchuk committed Sep 5, 2013
1 parent 5b09d83 commit 085be5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/PhantomJS/PhantomJSDriverService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ private string GetPropertyCommandLineArgValue(PropertyInfo info)
string actualValue = propertyValue.ToString();
if (actualValue.Contains(" "))
{
return string.Format(CultureInfo.InvariantCulture, "\"{0}\"");
return string.Format(CultureInfo.InvariantCulture, "\"{0}\"", actualValue);
}
else
{
Expand Down

0 comments on commit 085be5e

Please sign in to comment.