[xml/sgml-commit] r1731 - in /packages/w3c-markup-validator/trunk/debian: changelog patches/full_path_for_form_actions.patch patches/series

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Tue Aug 17 22:41:39 UTC 2010


Author: periapt-guest
Date: Tue Aug 17 22:41:38 2010
New Revision: 1731

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=1731
Log:
* Restricting dependency to apache2 until someone volunteers to do
integration for other web servers.
* Changed action="check" to action="/w3c-markup-validator/check" throughout

Added:
    packages/w3c-markup-validator/trunk/debian/patches/full_path_for_form_actions.patch
Modified:
    packages/w3c-markup-validator/trunk/debian/changelog
    packages/w3c-markup-validator/trunk/debian/patches/series

Modified: packages/w3c-markup-validator/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/w3c-markup-validator/trunk/debian/changelog?rev=1731&op=diff
==============================================================================
--- packages/w3c-markup-validator/trunk/debian/changelog (original)
+++ packages/w3c-markup-validator/trunk/debian/changelog Tue Aug 17 22:41:38 2010
@@ -8,6 +8,9 @@
 
   * New maintainer rebuilt package from first principles (Closes: #573497)
   * Upgraded to upstream version 1.1 (Closes: #461021 and  Closes: #437795)
+  * Restricting dependency to apache2 until someone volunteers to do
+  integration for other web servers.
+  * Changed action="check" to action="/w3c-markup-validator/check" throughout
 
  -- Nicholas Bamber <nicholas at periapt.co.uk>  Fri, 30 Jul 2010 22:41:09 +0100
 

Added: packages/w3c-markup-validator/trunk/debian/patches/full_path_for_form_actions.patch
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/w3c-markup-validator/trunk/debian/patches/full_path_for_form_actions.patch?rev=1731&op=file
==============================================================================
--- packages/w3c-markup-validator/trunk/debian/patches/full_path_for_form_actions.patch (added)
+++ packages/w3c-markup-validator/trunk/debian/patches/full_path_for_form_actions.patch Tue Aug 17 22:41:38 2010
@@ -1,0 +1,106 @@
+Subject: Debianized action attribute in forms.
+ In all the forms we had action="check" howver the path is actually
+ action="/w3c-markup-validator/check". Sometimes the upstream version
+ was working and sometimes not depending on the location. We have standardized
+ on the full path as a precaution.
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Forwarded: not-needed
+Last-Update: 2010-08-17 
+--- a/htdocs/detailed.html
++++ b/htdocs/detailed.html
+@@ -11,7 +11,7 @@
+ <div id="fields">
+ 
+ <fieldset id="validate-by-uri" class="tabset_content front"><legend class="tabset_label">Validate by URI</legend>
+-  <form method="get" action="check">
++  <form method="get" action="/w3c-markup-validator/check">
+     <p class="instructions">
+ 	Validate a document online:     
+    </p>
+@@ -39,7 +39,7 @@
+ </fieldset>
+ 
+ <fieldset id="validate-by-upload"  class="tabset_content front"><legend class="tabset_label">Validate by File Upload</legend>
+-<form method="post" enctype="multipart/form-data" action="check">
++<form method="post" enctype="multipart/form-data" action="/w3c-markup-validator/check">
+   <p class="instructions">Upload a document for validation:</p>
+   <p><label title="Choose a Local File to Upload and Validate" for="uploaded_file">File:</label>
+     <input type="file" id="uploaded_file" name="uploaded_file" size="30" /></p>        
+@@ -65,7 +65,7 @@
+ 
+ </fieldset>
+       <fieldset id="validate-by-input"  class="tabset_content front"><legend class="tabset_label">Validate by direct input</legend>
+-                  <form method="post" enctype="multipart/form-data" action="check">
++                  <form method="post" enctype="multipart/form-data" action="/w3c-markup-validator/check">
+                           <p class="instructions"><label title="Paste a complete (HTML) Document here" for="fragment">Enter the Markup (Full Document) to validate</label>:<br />
+                                   
+                       	<textarea id="fragment" name="fragment" rows="12" cols="80"></textarea>
+--- a/htdocs/file-upload.html
++++ b/htdocs/file-upload.html
+@@ -10,7 +10,7 @@
+     <div>
+       <h2>Validate Uploaded File</h2>
+       <fieldset><legend>Validate by File Upload</legend>
+-      <form method="post" enctype="multipart/form-data" action="check">
++      <form method="post" enctype="multipart/form-data" action="/w3c-markup-validator/check">
+         <table>
+           <tr><th><label for="uploaded_file">File:</label></th><td colspan="2"><input type="file" id="uploaded_file" name="uploaded_file" size="50" /></td></tr>
+ <!--#include virtual="detailed-form.html" -->
+--- a/htdocs/fragment-upload.html
++++ b/htdocs/fragment-upload.html
+@@ -9,7 +9,7 @@
+   <div>
+     <h2>Validate by Direct Input</h2>
+ 
+-    <form method="post" enctype="multipart/form-data" action="check">
++    <form method="post" enctype="multipart/form-data" action="/w3c-markup-validator/check">
+ 
+       <table cellpadding="0" cellspacing="0">
+ 
+--- a/htdocs/index.html
++++ b/htdocs/index.html
+@@ -13,7 +13,7 @@
+ <div id="fields">
+ 
+ <fieldset id="validate-by-uri" class="tabset_content front"><legend class="tabset_label">Validate by URI</legend>
+-  <form method="get" action="check">
++  <form method="get" action="/w3c-markup-validator/check">
+     <p class="instructions">
+ 	Validate a document online:     
+    </p>
+@@ -39,7 +39,7 @@
+ </fieldset>
+ 
+ <fieldset id="validate-by-upload"  class="tabset_content front"><legend class="tabset_label">Validate by File Upload</legend>
+-<form method="post" enctype="multipart/form-data" action="check">
++<form method="post" enctype="multipart/form-data" action="/w3c-markup-validator/check">
+   <p class="instructions">Upload a document for validation:</p>
+   <p><label title="Choose a Local File to Upload and Validate" for="uploaded_file">File:</label>
+     <input type="file" id="uploaded_file" name="uploaded_file" size="30" /></p>        
+@@ -63,7 +63,7 @@
+ 
+ </fieldset>
+       <fieldset id="validate-by-input"  class="tabset_content front"><legend class="tabset_label">Validate by direct input</legend>
+-                  <form method="post" enctype="multipart/form-data" action="check">
++                  <form method="post" enctype="multipart/form-data" action="/w3c-markup-validator/check">
+                           <p class="instructions"><label title="Paste a complete (HTML) Document here" for="fragment">Enter the Markup to validate</label>:<br />
+                                   
+                       	<textarea id="fragment" name="fragment" rows="12" cols="80"></textarea>
+--- a/share/templates/en_US/table.tmpl
++++ b/share/templates/en_US/table.tmpl
+@@ -17,12 +17,12 @@
+ 
+ <TMPL_IF NAME="file_uri">
+ <TMPL_IF NAME="is_upload">  
+-<form id="form" method="post" enctype="multipart/form-data" action="check">
++<form id="form" method="post" enctype="multipart/form-data" action="/w3c-markup-validator/check">
+ <TMPL_ELSE>
+   <TMPL_IF NAME="is_direct_input">
+-    <form id="form" method="post" enctype="multipart/form-data" action="check">
++    <form id="form" method="post" enctype="multipart/form-data" action="/w3c-markup-validator/check">
+   <TMPL_ELSE>
+-    <form id="form" method="get" action="check">
++    <form id="form" method="get" action="/w3c-markup-validator/check">
+   </TMPL_IF>
+ </TMPL_IF>
+   <table class="header">

Modified: packages/w3c-markup-validator/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/w3c-markup-validator/trunk/debian/patches/series?rev=1731&op=diff
==============================================================================
--- packages/w3c-markup-validator/trunk/debian/patches/series (original)
+++ packages/w3c-markup-validator/trunk/debian/patches/series Tue Aug 17 22:41:38 2010
@@ -1,2 +1,3 @@
 mootools.patch
 validator_conf_debianize.patch
+full_path_for_form_actions.patch




More information about the debian-xml-sgml-commit mailing list