Skip to content
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

ZCS-12939: added context path for images #796

Open
wants to merge 1 commit into
base: ZCS-12907
Choose a base branch
from
Open

Conversation

k-kato
Copy link
Contributor

@k-kato k-kato commented Feb 6, 2023

Adding context path to images in change password pages.

When zimbraMailURL is changed from / to /test/path, for example,
(A) zimbraPasswordMustChange TRUE

  1. Set zimbraPasswordMustChange to TRUE on an account
  2. Go to login page of Classic UI (i.e. login.jsp)
  3. Log in to the account
  4. change password page is shown
  5. a path of each image should be /test/path/img/xxx

(B) standard change password page on Classic UI

  1. Login to Classic UI
  2. click Change Password
  3. change password page is shown in a separate window
  4. a path of each image should be /test/path/img/xxx

Note:
The target (base) branch is ZCS-12907. #793 is adding the following code to login.jsp.

<c:if test="${pageContext.request.contextPath ne '/'}">
    <c:set var="basePath" value="${pageContext.request.contextPath}"/>
</c:if>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants