Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

rwestergren

About

Username
rwestergren
Joined
Visits
13
Last Active
Roles
Member

Comments

  • Form field: $fields['myfield_upload'] = array('type' => 'file', 'upload_path' => $this->upload_path, 'overwrite' => TRUE, 'after_html' => $file_after_html, 'order' => 1000, 'label' => 'File', 'filename' …
  • This function does not properly escape/prepare text containing double quotes for editing in a standard input element of a form. public static function prep($str, $double_encode = TRUE) { $str = (string) $str; if ($double_encode) { $s…
  • In the fuel/application/libraries/Form.php, line 431
  • I came across this thread when looking into an issue with displaying double quotes in a normal input field. In the prep function, shouldn't the correct line be: $str = htmlspecialchars($str, ENT_QUOTES, 'UTF-8', FALSE); This will then correctly …