ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 12163


Ignore:
Timestamp:
Jul 7, 2009, 3:25:01 PM (11 years ago)
Author:
ShogoKawahara
Message:

#4054:fixed sfMobileIOFilter doesn't strip null byte correctly in mobile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/lib/filter/sfMobileIOFilter.class.php

    r11621 r12163  
    5959    $parameter_holder = $request->getParameterHolder();
    6060
    61     foreach ($parameter_holder->getAll() as $key => $value) {
     61    foreach ($parameter_holder->getAll(false) as $key => $value) {
    6262      $parameter_holder->set($key, $this->convertEncodingForInputCallback($value));
    6363    }
     
    7575  private function convertEmojiForInput()
    7676  {
    77     $request = $this->getContext()->getRequest();
     77    $request = $this->getContext(false)->getRequest();
    7878    $parameter_holder = $request->getParameterHolder();
    7979
    80     foreach ($parameter_holder->getAll() as $key => $value) {
     80    foreach ($parameter_holder->getAll(false) as $key => $value) {
    8181      $parameter_holder->set($key, $this->convertEmojiForInputCallback($value));
    8282    }
Note: See TracChangeset for help on using the changeset viewer.