[Mono-bugs] [Bug 371567] New: Process does not work correctly with filenames containing #

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Mar 16 12:36:28 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=371567


           Summary: Process does not work correctly with filenames
                    containing #
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Compile the following sample:

using System;
using System.Diagnostics;

class Program {

        static void Main (string[] args)
        {
                string url =
"http://www.mono-project.com/Gendarme.Rules.BadPractice#CheckNewExceptionWithoutThrowingRule";
                if (args.Length > 0)
                        url = "\"" + url  + "\"";

                Process p = new Process ();
                p.StartInfo.Verb = "open";
                p.StartInfo.FileName = url;
                p.Start ();
        }
}

Running "mono sample.exe" will open the web page
"http://www.mono-project.com/Gendarme.Rules.BadPractice"

Running "mono sample.exe 1" will open the web page
"http://www.mono-project.com/Gendarme.Rules.BadPractice#CheckNewExceptionWithoutThrowingRule"
which is the expected behavior (and what MS.NET does).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list