#5852: Form Helper problems with extended ASCII values
---------------------------------------------------------+------------------
    Reporter:  prussell                                  |          Type:  Bug  
  
      Status:  new                                       |      Priority:  
Medium 
   Milestone:  1.2.x.x                                   |     Component:  
Helpers
     Version:  RC3                                       |      Severity:  
Normal 
    Keywords:  Form, Helper, Escaping Characters, ASCII  |   Php_version:  PHP 
5  
Cake_version:                                            |  
---------------------------------------------------------+------------------
 It seems that the form helper is unable to create HTML form objects with
 correct values when the $form->input( ) method is called while passing in
 extended ASCII characters.

 For example, this code creates a text box with the value : insx}

 {{{
 $this->Form->input($datavalue, array('value'=>chr(105).chr(110).chr
 (115).chr(120).chr(125)));
 }}}


 This code creates a text box with a blank value:

 {{{
 $this->Form->input($datavalue, array('value'=>chr(105).chr(110).chr
 (115).chr(130).chr(135)));
 }}}


 The difference is the last two characters. If you submit a value to the
 form helper with a character of over 127, the form helper fails to
 populate the HTML form element it creates with the value you pass in.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5852>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to