8000 Escape backslashes when setting the namespace by nr1q · Pull Request #8 · tonik/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Escape backslashes when setting the namespace #8

Merged
merged 1 commit into from
Dec 8, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/CLI/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function askForReplacements()

$input->defaultTo($data['value']);

$replacements[$placeholder] = $input->prompt();
$replacements[$placeholder] = addslashes($input->prompt());
}

return $replacements;
Expand Down
0