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

Validate urlPath before execute, prevent null pointer exception #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Samnang-An
Copy link

Dear whom it may concern,

I would like to suggest an improvement regarding the operation of Login page which currently produces an issue when the redirect URL context path is blank. Please refer to the screenshot and code change below.

Selection_204

Server Info:

open MRS 2.3.2 Build 437b7f

Step to reproduce:

  1. embedded Open MRS portal link in another portal. ex: https://app.abc.com
  2. click on the embedded link. ex: https://openmrs.abc.com/openmrs

The error shows up on the second time I redirect to login page.

Thank you very much for considering the improvement.

Best Regards,
Samnang

@dkayiwa
Copy link
Member

dkayiwa commented Dec 24, 2021

@Samnang-An thank you so much for this contribution! Do you mind creating a JIRA ticket as required by this? https://wiki.openmrs.org/display/docs/Pull+Request+Tips

@Samnang-An
Copy link
Author

Thanks @dkayiwa for your response.Sorry for skipping the required step; however, I was trying to create an issue in Jira but I have problem login in to the Jira. can you help me with that?
image

@dkayiwa
Copy link
Member

dkayiwa commented Dec 27, 2021

@Samnang-An can you report this to OpenMRS help desk?

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.

2 participants