<?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>57817</bug_id>
          <alias>mtorres</alias>
          <creation_ts>2011-04-04 23:46:27 -0700</creation_ts>
          <short_desc>Could not enter weird characters in password input boxes (on MacOS with spanish keyboard)</short_desc>
          <delta_ts>2023-06-03 15:19:18 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></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="mtorres">torres.marc</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>akeerthi</cc>
    
    <cc>annevk</cc>
    
    <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>379352</commentid>
    <comment_count>0</comment_count>
    <who name="mtorres">torres.marc</who>
    <bug_when>2011-04-04 23:46:27 -0700</bug_when>
    <thetext>NOTE: Probably related to https://bugs.webkit.org/show_bug.cgi?id=32231 (thought I haven&apos;t test it on PC Linux)

I&apos;ve previously reported this at chromium bugtracker (http://code.google.com/p/chromium/issues/detail?id=78048), but they&apos;ve told me that I should open the ticket here because it&apos;s (probably) a webkit issue (the issue is in both, Chrome 10 and Safari 5).

I just copy&amp;paste the report here:

Chrome Version       : 10.0.648
URLs (if applicable) : none
OS version           : MacOS 10.6.7
Behavior in Safari 5.04 (if applicable): 
  The same 
Behavior in Firefox 3.x (if applicable):
  In firefox works like a charm (in both Mac&amp;Win)
Behavior in Chrome for Windows:
  In Chrome Windows works also like a charm (though not tested under Safari for Windows)

What steps will reproduce the problem?
1. Create a web page with input type=&quot;password&quot;
&lt;!-- file test.php --&gt;
&lt;?php if (isset($_POST[&apos;pwd&apos;])): ?&gt; 
  &lt;?php var_dump($_POST) ?&gt;
&lt;?php else: ?&gt;
&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Password test&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;form action=&quot;test.php&quot; method=&quot;POST&quot;&gt;
      &lt;input type=&quot;password&quot; id=&quot;pwd&quot; name=&quot;pwd&quot; /&gt;
      &lt;input type=&quot;submit&quot; name=&quot;OK&quot; value=&quot;Submit&quot; /&gt;
    &lt;/form&gt;
  &lt;/body&gt;
&lt;/html&gt;
&lt;?php endif; ?&gt;
2. Try to insert the weird character like ^ in the password field (even `, ´, ¨,  won&apos;t work), I just press the character and the the space bar (the SO is expecting another letter to be used, like à or maybe ï, so I type space bar because the password has some of this characters alone).

What is the expected result?
  You&apos;ll just expect that the server recieves the characters that you type, but you&apos;ll get only the spaces (you can see, using the chrome&apos;s developer toolbar, that it&apos;s actually sending the typed password wrong!)

What happens instead?
  All the weird characters are repaced by a white space

I&apos;ve noticed that if I switch the keyboard layout to US it works like a charm (as the system is not expecting another letter to be used when you type those characters so you don&apos;t need to type the space bar).

I guess it&apos;s a webkit issue, because it also happens in Safari.

I should add that I can type the password on another input box and then cut&amp;paste to the password field. For now this is what I&apos;m doing... (absolutely not the best options if is someone is arround...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379365</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-04-05 00:45:24 -0700</bug_when>
    <thetext>It&apos;s normal behavior of Mac OS X password input fields that dead keys and non-ASCII input methods are not allowed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379380</commentid>
    <comment_count>2</comment_count>
    <who name="mtorres">torres.marc</who>
    <bug_when>2011-04-05 02:07:05 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; It&apos;s normal behavior of Mac OS X password input fields that dead keys and non-ASCII input methods are not allowed.

But it&apos;s working in Firefox (v3.x) but not sure about Opera... Is it normal then?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379758</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-04-05 11:25:12 -0700</bug_when>
    <thetext>Firefox doesn&apos;t use Cocoa password text input control, so it has multiple inconsistencies with other applications. Neither does WebKit, but we strive hard to match Cocoa.

I agree that there is an issue here, but simply allowing dead keys, input methods and non-ASCII-capable input sources would not be a good solution. We haven&apos;t come up with a good one yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>380519</commentid>
    <comment_count>4</comment_count>
    <who name="mtorres">torres.marc</who>
    <bug_when>2011-04-06 10:01:08 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Firefox doesn&apos;t use Cocoa password text input control, so it has multiple inconsistencies with other applications. Neither does WebKit, but we strive hard to match Cocoa.
&gt; 
&gt; I agree that there is an issue here, but simply allowing dead keys, input methods and non-ASCII-capable input sources would not be a good solution. We haven&apos;t come up with a good one yet.

Mmm... ok so I can change my password or stay with the cut&amp;paste solution for the moment. Thanks anyway!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959550</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-06-02 08:43:57 -0700</bug_when>
    <thetext>Tried via w3schools: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_password

and remove &apos;Email&apos; field and used &apos;ïïï^asdaïïï^^^^&apos; (as password with some characters in Comment 0) ad then it worked in Safari Technology Preview 171.

Is this still reproducible for someone else?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959696</commentid>
    <comment_count>6</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-06-03 08:01:20 -0700</bug_when>
    <thetext>No. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959714</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2023-06-03 15:19:18 -0700</bug_when>
    <thetext>I hope that we do something sensible when encoding these for various authentication schemes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>