Oracle 数据库无法打开带有“#”的文件他们身上的性格
由于某种原因,如果数据库中的文件中有 # 字符,则它们将无法打开...
我注意到的一件事是在文件名中,链接在 # 符号后面没有 %20 空格字符,但即使我用 %20 字符替换其余的数字字符,链接仍然不起作用..
有什么想法吗?
从评论中添加 我更深入地研究了代码,似乎这就是实际打开文件的内容; wpg_docload.download_file(v_filename, false);
For some reason, the files in the database won't open if they have the # character in them...
One thing i noticed was in the file name, the link doesn't have %20 for the space characters after the # sign, but even when i replace the rest of the number characters with the %20 character, the link still doesn't work..
Any ideas why it could be?
Added from comments
I looked more into the code and it seems like this is what actually opens the files; wpg_docload.download_file(v_filename, false);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
wpg_docload.download_file 是 Apex 的一部分,用于将文件返回到浏览器。
但 # 在 URL 中可能有特殊含义,因此可能会造成混淆。
查看 WWV_FLOW_FILES 并查看其中的文件名(例如是否已对其进行编码)。
wpg_docload.download_file is part of Apex and is used to return files to a browser.
But # can have a special meaning in a URL so that might be confusing it.
Have a look in WWV_FLOW_FILES and see what the file name is in there (eg has it been encoded in anyway).