mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
#18046164 * mailto 변조되는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6534 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
40660efbe0
commit
3fe1a50344
1 changed files with 2 additions and 2 deletions
|
|
@ -140,8 +140,8 @@
|
||||||
function _replacePath($matches) {
|
function _replacePath($matches) {
|
||||||
$val = trim($matches[3]);
|
$val = trim($matches[3]);
|
||||||
|
|
||||||
// 외부링크 또는 / 로 시작하는 경로라면 그냥 pass
|
// 외부 또는 / 로 시작하는 경로라면 그냥 pass
|
||||||
if(preg_match('/^(http|https|ftp|telnet|mms|\/)/i',$val)) return $matches[0];
|
if(preg_match('/^(http|https|ftp|telnet|mms|mailto|\/)/i',$val)) return $matches[0];
|
||||||
|
|
||||||
// .. 와 같은 경우 대상 경로를 구함
|
// .. 와 같은 경우 대상 경로를 구함
|
||||||
elseif(preg_match('/^(\.\.)/i',$val)) {
|
elseif(preg_match('/^(\.\.)/i',$val)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue