Oracle 数据库无法打开带有“#”的文件他们身上的性格

发布于 2024-09-11 15:05:43 字数 230 浏览 1 评论 0原文

由于某种原因,如果数据库中的文件中有 # 字符,则它们将无法打开...

我注意到的一件事是在文件名中,链接在 # 符号后面没有 %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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

可可 2024-09-18 15:05:43

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文