[Mono-bugs] [Bug 64995][Wis] New - Incorrect Behavior of Environment.ExpandEnvironmentVariables

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 1 Sep 2004 00:22:28 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by fawad@fawad.net.

http://bugzilla.ximian.com/show_bug.cgi?id=64995

--- shadow/64995	2004-09-01 00:22:28.000000000 -0400
+++ shadow/64995.tmp.15084	2004-09-01 00:22:28.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 64995
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: fawad@fawad.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Incorrect Behavior of Environment.ExpandEnvironmentVariables
+
+ExpandEnvironmentVariables behaves inconsistantly with the .NET framework
+when given non-trivial strings. For example, strings that should be printed
+as is are treated as environment variables
+
+The attached code snippet demonstrates the problem
+
+Actual Results:
+%HOME% %:/home/fawad%%
+%HOME% DISPLAY%:/home/fawad:0.0
+
+
+Expected Results:
+%HOME% %:/home/fawad %
+%HOME% DISPLAY%:/home/fawad DISPLAY%