opening webdav files in Chrome via the Office Authorization plug-in for NPAPI browsers fails for certain files

邮差的信 提交于 2019-12-06 05:35:36
costa

OK, thanks to Stuart's explanations in this issue, things started to make more sense. Basically I think the problem lies into the way the Microsoft plugin has been implemented when it comes to handling the strings that are passed from JavaScript. Stuart posted a question that shows the problem. The plugin code expects the strings to be null terminated when in fact that's not guaranteed.

I did a test in my real app and I added the null character to url, i.e I passed url + '\0', and now the bloody thing works in Chrome.

The question remains, is Microsoft going to fix their plugin?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!