[Mono-bugs] [Bug 540238] New: can't set configuration / location / path to ".", even though that is the default value
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Sep 18 09:26:22 EDT 2009
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: mono-bugs at lists.ximian.com
ReportedBy: brett at fogcreek.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list