diff -r 6d7b6e47f3ef -r a8ed41b6280b src/Pure/General/path.scala --- a/src/Pure/General/path.scala Sat Jul 21 17:49:22 2012 +0200 +++ b/src/Pure/General/path.scala Sat Jul 21 21:16:08 2012 +0200 @@ -29,7 +29,8 @@ private def check_elem(s: String): String = if (s == "" || s == "~" || s == "~~") err_elem("Illegal", s) else - s.iterator.filter(c => c == '/' || c == '\\' || c == '$' || c == ':').toList match { + s.iterator.filter(c => + c == '/' || c == '\\' || c == '$' || c == ':' || c == '"' || c == '\'').toList match { case Nil => s case bads => err_elem ("Illegal character(s) " + commas_quote(bads.map(_.toString)) + " in", s)