This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3 - Results from Advanced form are not GETable.
Summary: Results from Advanced form are not GETable.
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.0b1
Hardware: All All
: P2 normal
Target Milestone: 0.6.0b3
Assignee: Terje Bless
QA Contact:
URL: http://validator.w3.org:8001/detailed...
Whiteboard:
Keywords:
Depends on:
Blocks: 23
  Show dependency treegraph
 
Reported: 2002-10-24 18:32 UTC by Terje Bless
Modified: 2005-02-03 17:35 UTC (History)
0 users

See Also:


Attachments

Description Terje Bless 2002-10-24 18:32:24 UTC
Reported by Björn Höhrmann <derhoermi@gmx.net>:

The advanced interface at [1] POSTs data to the remote resource. I don't like
that, but if you want to combine file upload and validation by URI in the same
form, you don't have a choice. However, on the result page I get told

  If you would like to create a link to this page (i.e., this validation
  result) to make it easier to re-validate this page in the future or to
  allow others to validate your page, the URI is
  http://validator.w3.org:8001/check?uri=<URI> (or you can just add the
  current page to your bookmarks or hotlist.)

The link does not include the advanced options I chose, neither is it
possible to add the current page to my bookmarks or hotlist, since the
resource is not GETable. 

Three possible solutions:

  remove the bookmark note and add parameters to the URI
  respond with 302/303 and redirect to a parameterized URI
  make it two forms and GET the results
Comment 1 Terje Bless 2002-10-25 03:09:25 UTC
I think we'll change this to redirect to a GETable URL in the case when there is
no uploaded file. Björn and others have suggested this before and it seems like
a good way to solve this issue.
Comment 2 Terje Bless 2002-10-26 04:13:04 UTC
Fixed. "check" now redirects to a GETable URL if request method was POST but
there was no file upload. cf.
http://dev.w3.org/cvsweb/validator/httpd/cgi-bin/check?rev=1.267&content-type=text/x-cvsweb-markup