<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>3911</bug_id>
          
          <creation_ts>2005-07-08 14:28:53 -0700</creation_ts>
          <short_desc>Some zipcodes rejected on some sites</short_desc>
          <delta_ts>2006-04-13 04:05:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>312.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.3</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://archive.democrats.com/elandslide/petition.cfm?campaign=conyers&amp;refer=friend</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Martin Rocek">rocek</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          <cc>mark</cc>
    
    <cc>stuartmorgan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14236</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Rocek">rocek</who>
    <bug_when>2005-07-08 14:28:53 -0700</bug_when>
    <thetext>On certain websites, the zipcode 11733 is rejected--it truncates the first 1.
On the same websites, 11794 is accepted--I haven&apos;t a clue!

A sample website with this problem is:

http://archive.democrats.com/elandslide/petition.cfm?campaign=conyers&amp;refer=friend

The relevant source seems to be:

     &lt;/tr&gt;
            &lt;tr&gt;
              &lt;td&gt;&lt;font face=&quot;verdana,HELVETICA&quot; size=&quot;-1&quot;&gt;Zip (U.S. Only)&lt;/font&gt;&lt;/td&gt;
              &lt;td&gt;&lt;font face=&quot;verdana,HELVETICA&quot; size=&quot;-1&quot;&gt; &lt;INPUT TYPE=&quot;Text&quot; NAME=&quot;zip&quot;  SIZE=&quot;5&quot;  
MAXLENGTH=&quot;5&quot;  VALUE=&quot;&quot; &gt; &lt;/font&gt;&lt;/td&gt;
            &lt;/tr&gt;
                  &lt;tr&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14283</commentid>
    <comment_count>1</comment_count>
    <who name="David Storey">dstorey</who>
    <bug_when>2005-07-09 11:06:36 -0700</bug_when>
    <thetext>I think this problem relates to server side logic and not related to html and webkit.  I presume it acts 
the same way in other browsers?  I think the choice of using a political petition as a test case isn&apos;t very 
appropriate.  We have to join the petition if we want to test it!  If you feel it is a bug then writing a 
testcase or at least using a more neutral page as an example would be better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14301</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Rocek">rocek</who>
    <bug_when>2005-07-09 21:24:43 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; I think this problem relates to server side logic and not related to html and webkit.  I presume it acts 
&gt; the same way in other browsers?  I think the choice of using a political petition as a test case isn&apos;t 
very 
&gt; appropriate.  We have to join the petition if we want to test it!  If you feel it is a bug then writing a 
&gt; testcase or at least using a more neutral page as an example would be better.

I am sorry that this is a political site--that is where I found the problem; you do not have to sign the 
petition--just fill in the zipcode field and then go to another field. Firefox does NOT have this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14597</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Rocek">rocek</who>
    <bug_when>2005-07-13 15:43:34 -0700</bug_when>
    <thetext>I have found out some more; the origin of the bug is the following: in my profile in my addressbook,
I had my 9-digit zipcode. The field looks for a 5-digit zipcode, and Safari fills it from my profile.
Because I had 9-digits, it tries to cram it into the 5-digit slot and somehow truncates the first
digit rather than the - and the remaining 4 digits. Firefox apparently doesn&apos;t use my profile,
and so it doesn&apos;t have the problem. This is why it happens only with my zipcode on my computer.
So a temporary solution is to have just my 5-digit zipcode in my profile. I think however that the
truncation should be from the right and this problem shouldn&apos;t arise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18585</commentid>
    <comment_count>4</comment_count>
    <who name="Stuart Morgan">stuartmorgan</who>
    <bug_when>2005-09-03 18:12:10 -0700</bug_when>
    <thetext>Form auto-fill is a feature of Safari, not WebKit, so this isn&apos;t a WebKit bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39133</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-04-13 04:05:37 -0700</bug_when>
    <thetext>*** Bug 8362 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>