You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the Gurmukhi Akhar encoding option (in Settings) , the encoding could contain / or other special characters which can cause unintended side effects.
One such example was seen while using Mahaan Kosh Tooltip on the following word:
The Gurmukhi Akhar encoding of the word is is/wpY.
The corresponding request to Mahaan Kosh Endpoint is:
This confuses the API call as it considers the is/ part of the path rather than considering it a payload.
To Reproduce
Steps to reproduce the behavior:
0. Set the encoding to "Gurmukhi Akhar"
Describe the bug
When using the Gurmukhi Akhar encoding option (in Settings) , the encoding could contain
/
or other special characters which can cause unintended side effects.One such example was seen while using Mahaan Kosh Tooltip on the following word:
The Gurmukhi Akhar encoding of the word is
is/wpY
.The corresponding request to Mahaan Kosh Endpoint is:
This confuses the API call as it considers the
is/
part of the path rather than considering it a payload.To Reproduce
Steps to reproduce the behavior:
0. Set the encoding to "Gurmukhi Akhar"
Expected behavior
A mahaanKosh tooltip should be displayed
Screenshots
Slack discussion
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
It is a good opportunity to think about other breaking cases and fix them as part of this bug fix
The text was updated successfully, but these errors were encountered: