http://bugzilla.novell.com/show_bug.cgi?id=540238


           Summary: can't set configuration / location / path to ".", even
                    though that is the default value
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)

When I explicitly set configuration / location / path to its default value of
'.' in a web.config, I get the following error message:

<location> path attribute must be a relative virtual path.  It cannot start
with any of ' ' '.' '/' or '\\'."

Reproducible: Always

Steps to Reproduce:
1. Create an XSP web app
2. Edit its web.config to be formatted a-like so
<configuration>
 <!-- Don't inherit our settings in any apps below this one in IIS -->
 <location path="." inheritInChildApplications="false" >
   . . . YOUR CONFIG HERE
 </location>
</configuration>

3. Hit a page in the app
Actual Results:  
<location> path attribute must be a relative virtual path.  It cannot start
with any of ' ' '.' '/' or '\\'."

Expected Results:  
Show the site with this config applied to '.', as if the config had been 
<configuration>
 <!-- Don't inherit our settings in any apps below this one in IIS -->
 <location inheritInChildApplications="false" >
   . . . YOUR CONFIG HERE
 </location>
</configuration>



Not a huge deal, there's an obvious workaround, but it's better if this matches
the ASP.Net implementation, which allows us to explicitly specify the path as
'.'.

-- 
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to