Package: asp.net-examples
Version: 1.0-3
Severity: important
File: asp.net-demos
Tags: patch

To make the index.aspx page list the correct file names, the reference
to /sample directory must be removed.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages asp.net-examples depends on:
ii  mono-xsp                      1.0-3      simple web server to run ASP.NET a

-- no debconf information
--- index.aspx  2005-02-07 02:46:41.000000000 +0300
+++ newindex.aspx       2005-02-07 02:45:56.000000000 +0300
@@ -6,7 +6,7 @@
 </head>
 <body>
 <h1>Welcome to Mono XSP!</h1>
-<a href="http://www.go-mono.com";><img src="/samples/mono.png" 
alt="http://www.go-mono.com";></a>
+<a href="http://www.go-mono.com";><img src="/mono.png" 
alt="http://www.go-mono.com";></a>
 <p>Here are some ASP.NET examples:</p>
 <%
 DirectoryInfo dir = new DirectoryInfo (Path.GetDirectoryName 
(Request.PhysicalPath));
@@ -20,7 +20,7 @@
        string fileName = Path.GetFileName(files[i].FullName);
        string extension = Path.GetExtension (files[i].FullName);
        if (styles.Contains (extension)) {
-               sb.AppendFormat ("<li><a style=\"{1}\" 
href=\"/samples/{0}\">{0}</a></li>\n", fileName, styles [extension]);
+               sb.AppendFormat ("<li><a style=\"{1}\" 
href=\"/{0}\">{0}</a></li>\n", fileName, styles [extension]);
        }
 }
 FileList.Text = sb.ToString ();

Reply via email to