2009-03-31 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Tue, 31 Mar 2009 15:01:57 +0000 (15:01 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Tue, 31 Mar 2009 15:01:57 +0000 (15:01 -0000)
* DefaultWsdlHelpGenerator.aspx: the link element in <head> must
be created using Response.Write, as the code expression in the
href attribute is otherwise treated verbatim. This is the same as
with .NET. Fixes bug #490497

svn path=/trunk/mono/; revision=130667

data/net_2_0/ChangeLog
data/net_2_0/DefaultWsdlHelpGenerator.aspx

index d78bd7175feb993b1f9701dd4150e7c446eb00c2..9d46768569bde11b789624f78498ea299f3c5049 100644 (file)
@@ -1,3 +1,10 @@
+2009-03-31  Marek Habersack  <mhabersack@novell.com>
+
+       * DefaultWsdlHelpGenerator.aspx: the link element in <head> must
+       be created using Response.Write, as the code expression in the
+       href attribute is otherwise treated verbatim. This is the same as
+       with .NET. Fixes bug #490497
+
 2009-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
 
        * DefaultWsdlHelpGenerator.aspx: disable the test form
index 0dd1bbdea3575aa17a429dcd874a75c768919acc..6d02af355e92f793da5a5d8c627f2551e6a90601 100644 (file)
@@ -1521,8 +1521,9 @@ public class HtmlSampleGenerator: SampleGenerator
 </script>
 
 <head runat="server">
-       <link rel="alternate" type="text/xml" href="<%=Request.FilePath%>?disco"/>
-
+       <%
+       Response.Write ("<link rel=\"alternate\" type=\"text/xml\" href=\"" + Request.FilePath + "?disco\"/>");
+       %>
        <title><%=WebServiceName%> Web Service</title>
     <style type="text/css">
                BODY { font-family: Arial; margin-left: 20px; margin-top: 20px; font-size: x-small}