colianghan / kindeditor

Automatically exported from code.google.com/p/kindeditor
Other
1 stars 0 forks source link

浏览插入本地附件时URL存在错误 #325

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
通过文件管理器,插入本地的图片、附件、FALSH等都存在以下
问题:
例如地址 http://localhost/upload/file/201205/maincus.swf 被插入为 
http://localhost/upload/file/201205//maincus.swf
目前修正办法为,修改 kineditor.js,在 647 行后插入 url = 
url.replace(/([^:])\/\//g, '$1/');

Original issue reported on code.google.com by aultoale on 7 May 2012 at 5:40

Attachments:

GoogleCodeExporter commented 9 years ago
已修复:https://github.com/kindsoft/kindeditor/commit/a3ee89af3432fcc351d994
54a85870eeaceda53b

Original comment by luolong...@gmail.com on 9 May 2012 at 4:26