mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
파일 이름에 &나 %등의 기호가 들어갈때 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6315 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
635fe75136
commit
8b866a1336
2 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,7 @@
|
|||
}
|
||||
|
||||
$src = str_replace(array('&','"'), array('&','&qout;'), $src);
|
||||
$src = str_replace('&', '&', $src);
|
||||
if(!$alt) $alt = $src;
|
||||
|
||||
$attr_output = array();
|
||||
|
|
|
|||
|
|
@ -264,6 +264,7 @@ function completeReloadFileList(ret_obj, response_tags, settings) {
|
|||
uploadedFiles[file_srl] = item[i];
|
||||
var opt = new Option(item[i].source_filename+" ("+item[i].disp_file_size+")", file_srl, true, true);
|
||||
listObj.options[listObj.options.length] = opt;
|
||||
item[i].download_url = encodeURI(item[i].download_url);
|
||||
if(/\.(jpg|jpeg|png|gif)$/i.test(item[i].download_url)) {
|
||||
var loadingImage = new Image();
|
||||
loadingImage.src = item[i].download_url;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue