diff --git a/apps/mobile_frontend/modules/default/actions/urlProxyAction.class.php b/apps/mobile_frontend/modules/default/actions/urlProxyAction.class.php index d7dce9e..e671875 100644 --- a/apps/mobile_frontend/modules/default/actions/urlProxyAction.class.php +++ b/apps/mobile_frontend/modules/default/actions/urlProxyAction.class.php @@ -31,6 +31,7 @@ class urlProxyAction extends sfAction } $this->url = $zendUri->getUri(); + $this->encordedUrl = urlencode($this->url); $this->proxys = sfConfig::get('op_mobile_proxys'); } } diff --git a/apps/mobile_frontend/modules/default/templates/urlProxySuccess.php b/apps/mobile_frontend/modules/default/templates/urlProxySuccess.php index 2657e78..e5d36f2 100644 --- a/apps/mobile_frontend/modules/default/templates/urlProxySuccess.php +++ b/apps/mobile_frontend/modules/default/templates/urlProxySuccess.php @@ -11,16 +11,16 @@ URL $purl): ?>
-> +>

- + getMobile()->isDoCoMo()): ?>
#. フルブラウザ getMobile()->isEZweb()): ?> -
#. PCサイトビューワ +
#. PCサイトビューワ diff --git a/lib/helper/opUtilHelper.php b/lib/helper/opUtilHelper.php index 022ffa2..c1e52ea 100644 --- a/lib/helper/opUtilHelper.php +++ b/lib/helper/opUtilHelper.php @@ -541,12 +541,13 @@ function _op_auto_links_outer_urls($text, $href_options = array(), $truncate = f } '; + use_helper('Escaping'); if ($truncate) { $callback_function .= ' else if (strlen($matches[2].$matches[3]) > '.$truncate_len.') { - return $matches[1].\'\'.substr($matches[2].$matches[3], 0, '.$truncate_len.').\''.$pad.'\'.$matches[4]; + return $matches[1].\'\'.substr($matches[2].$matches[3], 0, '.$truncate_len.').\''.$pad.'\'.$matches[4]; } '; } @@ -554,7 +555,7 @@ function _op_auto_links_outer_urls($text, $href_options = array(), $truncate = f $callback_function .= ' else { - return $matches[1].\'\'.$matches[2].$matches[3].\'\'.$matches[4]; + return $matches[1].\'\'.$matches[2].$matches[3].\'\'.$matches[4]; } ';