summaryrefslogtreecommitdiffstats
path: root/htdocs/index.html
diff options
context:
space:
mode:
authorlink <link@localhost>2002-10-27 10:22:18 +0000
committerlink <link@localhost>2002-10-27 10:22:18 +0000
commit859848120ad3acd3dbf17587e41c714fc960e9c1 (patch)
tree3c7b7b3c7e764c6e2cae7ea5034a7c9464a20832 /htdocs/index.html
parent255fc0b0213bfa49496d5f2dc026b928ab7ea6fa (diff)
downloadmarkup-validator-859848120ad3acd3dbf17587e41c714fc960e9c1.zip
markup-validator-859848120ad3acd3dbf17587e41c714fc960e9c1.tar.gz
markup-validator-859848120ad3acd3dbf17587e41c714fc960e9c1.tar.bz2
Made main FORMs into a single form (POST) since it redirects to a GET if
there is no uploaded file. This makes sure you will get the intended result even if you hit the wrong button when submitting. Unresolved issue: When you have a file selected and then enter and submit a URI, the file upload is preferred which may be unexpected. Leaving as unresolved the time being... Thanks to Bjoern Hoehrmann for the report.
Diffstat (limited to 'htdocs/index.html')
-rwxr-xr-xhtdocs/index.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/htdocs/index.html b/htdocs/index.html
index 311a10c..62105da 100755
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -1,5 +1,5 @@
-<!--#set var="revision" value="\$Id: index.html,v 1.54 2002-10-23 23:11:29 link Exp $"
---><!--#set var="date" value="\$Date: 2002-10-23 23:11:29 $"
+<!--#set var="revision" value="\$Id: index.html,v 1.55 2002-10-27 10:22:18 link Exp $"
+--><!--#set var="date" value="\$Date: 2002-10-27 10:22:18 $"
--><!--#set var="title" value="The W3C MarkUp Validation Service"
--><!--#set var="relroot" value="./"
--><!--#include virtual="header.html" -->
@@ -19,14 +19,12 @@
W3C MarkUp Validation Service" href="detailed.html">Extended
Interface</a> available if you want to set any advanced options.
</p>
- <form method="get" action="check">
+ <form method="post" enctype="multipart/form-data" action="check">
<p>
<label title="Address of page to Validate" for="uri">Address:
<input id="uri" name="uri" size="40" /></label>
- <input type="submit" value="Validate URI..." />
+ <input type="submit" value="Validate URL..." />
</p>
- </form>
- <form method="post" enctype="multipart/form-data" action="check">
<p>
<label title="Choose a Local File to Upload and Validate" for="uploaded_file">Local File:
<input type="file" id="uploaded_file" name="uploaded_file" size="30" /></label>