-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tomcat rejects wrong URL send by Outlook application #14
Comments
Tomcat error for information:
|
Deeper study of Tomcat sources found that it is a fix of vulnerability CVE-2016-6816 also described here. |
This problem doesn't happen if Platform's Tomcat runs behind the proxy on. Apache HTTP with mod_jk. Issue to study the infra by admins ITOP-3056. |
As Office developers proposed, there is a shim helper that lets use Office.js functionality without requests with illegal characters. We'll try use this OfficeJsHelpers library in Outlook add-in for eXo Platform. |
Issue #14 : document apache configuration to apply
Since Tomcat 7.0.73 it does strict check for wrong characters in the request line and reject it then.
This fix affected 7.x, 8.x and 9.x Tomcat servers due to CVE-2016-6816 detected vulnerability.
Commit done with following comment:
But Outlook server sends all request with query parameter that contains
|
character. For example:https://peter.exoplatform.com.ua:8443/portal/intranet/outlook?command=convertToStatus&et=&_host_Info=Outlook|Web|16.01|en-US|338f7941-a518-7600-3f22-e4807d2a482b|
.Previously we was able to escape it in servlet filter to avoid failures in the portal engine. But since the Tomcat change this check done too low level before the filter.
A single, yet known, way to workaround it, it's use hash
#
at the end of location URLs of the add-in manifest, then the Tomcat logic will let it run (by ignoring the rest of the request line).Check in this issue: will the workaround work with Outlook365?
The text was updated successfully, but these errors were encountered: