Skip to content

Commit

Permalink
Merge pull request #8433 from legal90/fix-os-friendly-name
Browse files Browse the repository at this point in the history
virtualbox: Fix invalid share names in Windows guests
  • Loading branch information
chrisroberts authored May 1, 2017
2 parents af9f17d + 3c44ab7 commit 023a234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/providers/virtualbox/synced_folder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def driver(machine)
end

def os_friendly_id(id)
id.gsub(/[\/]/,'_').sub(/^_/, '')
id.gsub(/[\/\\]/,'_').sub(/^_/, '')
end

# share_folders sets up the shared folder definitions on the
Expand Down

0 comments on commit 023a234

Please sign in to comment.