这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion omod/src/main/webapp/admin/patients/mergePatientsForm.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ function toggleUnvoidedOrderErrorMessage(){
<input type="hidden" id="pref" name="preferred" value=""/>
<input type="hidden" id="nonPref" name="nonPreferred" value=""/>
<input type="hidden" name="modalMode" value='${modalMode}' />
<input type="hidden" name="redirectURL" value='<request:header name="referer" />' />
<input type="hidden" name="redirectURL" value='<c:out value="${pageContext.request.getHeader('referer')}"/>' />
</c:if>
</form>

Expand Down
3 changes: 1 addition & 2 deletions omod/src/main/webapp/portlets/login.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
<input type="hidden" name="redirect" value="" />
</c:otherwise>
</c:choose>

<input type="hidden" name="refererURL" value='<request:header name="referer" />' />
<input type="hidden" name="refererURL" value='<c:out value="${pageContext.request.getHeader('referer')}"/>' />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that the XSS attack came via the referer param?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

</c:if>

</form>
Expand Down
Loading