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

Fixed message not displaying in Web UI when id includes '#' symbol #180

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

ryan-warrener
Copy link
Contributor

This fix is for Issue #179. The Web UI controller will not send the complete message id when it has a "#" symbol as it is interpreted as a URL fragment. The fragment is now escaped.

@Jaben Jaben merged commit 60dcec6 into ChangemakerStudios:develop Jun 3, 2021
@MircoBabin
Copy link

Why not use encodeURIComponent() standard javascript function ? (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent)

The introduced $scope.escapeUrl function does not do a good job. It only escapes a #, but in an url there has to be escaped much more.

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