Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Decode escaped characters in the file list parser

See ddb634d for details.
  • Loading branch information...
commit 87c1506cf45c088daeb1917d5996add60f581f91 1 parent 9ccccb9
@kaiwood kaiwood authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  Support/lib/parsers.rb
View
3  Support/lib/parsers.rb
@@ -33,6 +33,9 @@ def parse_status_hash(input)
end
end
+ # Decode escaped characters in the file list parser.
+ file_name = $1.gsub(/(\\\d{3})+/) { $&.scan(/\d{3}/).map { |str| str.oct }.pack("c*") } if file_name =~ /^"(.*)"$/
+
file_statuses[file_name] = file_status
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.