Trailing blanks in forms

Paul S. Sears sears at tree.egr.uh.edu
Thu Mar 30 11:45:08 PST 1995



I haven't seen this on the mailing list archive, but we are having problem  
with OmniWeb 1.0 and forms that require "trailing blanks" for passed  
arguements.

When submitting a particular form via OmniWeb, I get the following:

http://jalapeno.support.uh.edu/htbin/printform_new.exe?name=Smith%2C+Fred&user 
id=smith&passwd=sdf333e7&mailbox=0&queue=w129_d3&system=uhupvm1&system=jetson& 
system=menudo&system=oracle&system=simpsons

On Netscape I get:

http://jalapeno.support.uh.edu/htbin/printform_new.exe?name=Smith%2C+Fred+++
++++++++++++++++&userid=smith+++++++++++++++++++++++++&passwd= sdf333e7&mailb
ox=0+++++++++++++++++++++++++++++&queue=w129_d3&system=uhupvm1+++&system=jet
son++++&system=menudo++++&system=oracle++++&system=simpsons++

Notice that netscape pads the arguments with +'s.  The fields in the form are  
defined like "jetson    " with the trailing blanks...

Which one is correct?  I suspect that NetScape is because Mosaic also behaves  
in this manner. The real problem is the cgi program on the server since it  
expects "fixed" length arguments.  However, this can not be easily fixed and  
I am forced to use NetScape or Mosaic to use this form...  What can be done  
about this?  Is OmniWeb conforming to html specs?

---
Paul S. Sears                *  sears at uh.edu (NeXT Mail OK)
The University of Houston    *  <URL:http://www.egr.uh.edu/~sears/>
Engineering Computing Center *  SSI Diving Certification #755020059
NeXT System Administration   *  DoD#1967 '83 NightHawk 650SC
"Programming is like sex: One mistake and you support it a lifetime."
*******    I do not represent the University of Houston    *********


More information about the OmniWeb-l mailing list