所有href属性值都已在Office应用程序中被覆盖 [英] All href attribute values has been overwritten in office apps

查看:62
本文介绍了所有href属性值都已在Office应用程序中被覆盖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我发布office 365 outlook加载项(使用office.js)时,所有href值都被覆盖到app source url + token数据。但以前没有这样的问题。是否有任何理由?


例如: -

  < a target =" _blank" href =" https://go.microsoft.com/fwlink/?LinkId = 276814">在线查找更多示例...< / a> 

已更改为以下

< a target =" _blank" HREF =" HTTPS://go.microsoft.com/fwlink/ LINKID = 276814等=&放大器;放大器; _host_Info =展望|网络| 16.00#&放大器;放大器; _xdm_Info = -2c92131c_-49d09cf4_1447147594009 | ocii7 | HTTPS?: //outlook.office.com/owa/?realm=davtonenterprise.onmicrosoft.com#path=/mail">在线查找更多样本...< / a> 




和 

 < a href ="#" ; class =" close-panel"> close< / a>  

已更改为 

< a href =" https:// localhost:44300 / AppRead / Home / Home.html?et =& amp; _host_Info = Outlook | Web | 16.00#?et =& amp; _host_Info = Outlook | Web | 16.00#&放大器;放大器; _xdm_Info = -2c92131c_-49d09cf4_1447147594009 | ocii7 |的https://outlook.office.com/owa/境界= davtonenterprise.onmicrosoft.com#路径= /邮件" class =" close-panel"> close< / a> 



解决方案

嗨ASITH,


我根据您的描述进行了测试,我可以重现您的问题。在Outlook联机中,href值将被覆盖。在Outlook桌面中,href值没有变化。在线和桌面的href值都可以正确打开。



为了诚实,我不确定为什么href会被覆盖。你有任何问题吗?


最好的问候,


爱德华


when i publish office 365 outlook add-in(with office.js) all href values has been overwritten to app source url + token data. but previously there was no such a issue. is there  any reason for that ?

Ex:-

  <a target="_blank" href="https://go.microsoft.com/fwlink/?LinkId=276814">Find more samples online...</a>

has been changed to following

<a target="_blank" href="https://go.microsoft.com/fwlink/?LinkId=276814?et=&amp;_host_Info=Outlook|Web|16.00#&amp;_xdm_Info=-2c92131c_-49d09cf4_1447147594009|ocii7|https://outlook.office.com/owa/?realm=davtonenterprise.onmicrosoft.com#path=/mail">Find more samples online...</a>


and 

 <a href="#" class="close-panel">close</a> 

has changed to 

<a href="https://localhost:44300/AppRead/Home/Home.html?et=&amp;_host_Info=Outlook|Web|16.00#?et=&amp;_host_Info=Outlook|Web|16.00#&amp;_xdm_Info=-2c92131c_-49d09cf4_1447147594009|ocii7|https://outlook.office.com/owa/?realm=davtonenterprise.onmicrosoft.com#path=/mail" class="close-panel">close</a>

解决方案

Hi ASITH,

I made a test with your description, and I could reproduce your issue. In Outlook online, the href values would be overwritten. In outlook desktop, the href values did not change. The href values both in online and desktop could open correctly.

To be honesty, I am not sure why the href would be overwritten. Did you have any issues about this?

Best Regards,

Edward


这篇关于所有href属性值都已在Office应用程序中被覆盖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆