Posting Acceptor Repost Fails When Input Tag Has Null Value Attribute (268273)



The information in this article applies to:

  • Microsoft Site Server 3.0

This article was previously published under Q268273

SYMPTOMS

When you use the Posting Acceptor that is included in Site Server 3.0 Service Pack 3 or later, reposting process fails when the value attribute in an input tag in the Uploadnd.asp file has no content, for example:

  <input type="hidden" name="test" value="">

					

The following error message is returned:
Reposting to URL "http://server/scripts/repost.asp" failed. repost failed.

RESOLUTION

Change the input tag to properly specify a NULL character for the value property, for example:

  <input type="hidden" name="test" value=" ">

					

STATUS

Microsoft has confirmed that this is a problem in Site Server 3.0 Service Pack 3 and later.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Modify the form tag in Uploadnd.asp, which is located in the Microsoft Site Server/Siteserver/Publishing directory, exactly as follows:

    <form enctype="multipart/form-data" action="<%= PostingURL%>" method=post><p>
      File to process: <input name="my_file" type="file"><br>
      File to process: <input name="my_file" type="file"><br>
      File to process: <input name="my_file" type="file"><br>
      Destination URL: <input name="TargetURL" value="<%= TargetURL %>" size=40><br>
      <input type="hidden" name="test" value=" ">
      <input type="submit" value="Upload"> </p>
    </form>
    						

  2. Browse to http://server/siteserver/publishing.
  3. Choose Upload a file to a virtual directory using HTTP Post (RFC 1869).
  4. Upload any file.

Modification Type:MajorLast Reviewed:10/16/2002
Keywords:kbprb kbQFE KB268273