[Mono-bugs] [Bug 80141][Maj] Changed - Linux: Incorrect RegistryKey.SetValue() Serialization
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Dec 4 03:17:18 EST 2006
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 kevin.fitzgerald at soarce.us.
http://bugzilla.ximian.com/show_bug.cgi?id=80141
--- shadow/80141 2006-12-04 01:48:40.000000000 -0500
+++ shadow/80141.tmp.15399 2006-12-04 03:17:17.000000000 -0500
@@ -2,21 +2,20 @@
Product: Mono: Class Libraries
Version: 1.0
OS: GNU/Linux [Other]
OS Details: Ubuntu 6.10 Edgy
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Major
Component: CORLIB
AssignedTo: mono-bugs at ximian.com
ReportedBy: kevin.fitzgerald at soarce.us
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: Linux: Incorrect RegistryKey.SetValue() Serialization
Description of Problem:
Microsoft.Win32.RegistryKey.SetValue() incorrectly writes .XML registry
values in a Linux environment. More importantly, "&" (Ampersands) are not
@@ -151,6 +150,18 @@
This is the expected result we should get.
I marked this bug as MAJOR because the probability of "&" (Ampersands)
showing up in cross-platform applications is likely, and loss of settings
and data can occur. This is a very undesirable.
+
+------- Additional Comments From kevin.fitzgerald at soarce.us 2006-12-04 03:17 -------
+After trying more invalid XML entries that could also cause this
+error, such as "<" or "<test/>" I've found that using greater-than and
+less-than symbols in registry key values cause no visible errors while
+running the application, however no key file is created!
+
+I'm going to start digging into the current most svn code to see what
+I can dig up...
+
+I haven't tested anything yet, but it might be as simple as a one line
+fix to UnixRegistryApi.cs.
More information about the mono-bugs
mailing list