Asp.net FCKEditor 2.6.3 上传文件没有权限解决方法
程序员文章站
2022-05-09 08:14:39
打开解决方案, 找到 filebrowser/fileworkerbase.cs 文件 复制代码 代码如下:response.write( @"(function(){va...
打开解决方案,
找到 filebrowser/fileworkerbase.cs 文件
response.write( @"(function(){var d=document.domain;while (true){try{var a=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" );
response.write( @"(function(){var d=document.domain;while (true){try{var a=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" );
修改成:
response.write(@"(function(){var d=document.domain;while (true){try{var a=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;}})();");
response.write(@"(function(){var d=document.domain;while (true){try{var a=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;}})();");
编译,将dll文件拷贝覆盖你网站bin目录的文件
找到 filebrowser/fileworkerbase.cs 文件
复制代码 代码如下:
response.write( @"(function(){var d=document.domain;while (true){try{var a=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" );
response.write( @"(function(){var d=document.domain;while (true){try{var a=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" );
修改成:
复制代码 代码如下:
response.write(@"(function(){var d=document.domain;while (true){try{var a=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;}})();");
response.write(@"(function(){var d=document.domain;while (true){try{var a=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;}})();");
编译,将dll文件拷贝覆盖你网站bin目录的文件
上一篇: 抗衰老最好的方法 10件事帮你延缓衰老
下一篇: 美白的方法 5个方法化身白雪公主