mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4213] [bug]: XML special symbol escape #1524
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1524
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Carlos920 on GitHub (Jul 26, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4213
Is there an existing issue for this?
Current behavior
When I call an interface, the result set contains the

&symbol instead of&At this point, hoppscotch will directly display&, while when the result set is&When displayed, it still shows&I think this is a mistake that sometimes misleads developers. If the result set contains the
&symbol instead of the escape symbol, an error should be reported and developers should be alerted to the presence of the incorrect symbol (as directly prompted in Chrome)Steps to reproduce
All contain XML special symbols such as
&Environment
Production
Version
Cloud
@Git-Harshit commented on GitHub (Oct 11, 2024):
@Carlos920, Can you please share some sample interface value that you may have used along with any pw.test() that you had to setup in order to get this result in Test Results tab in https://hoppscotch.io/?
I was trying to reproduce this issue, but I am unable to do so without the proper inputs.
Also, for Ampersand (&) symbol, the HTML Character Entity is
&, this and any such entity starts with '&' and ends in a ';' semi-colon. Perhaps you had just used '&' without a trailing semi-colon (;) from your XML editor and so you had encountered that issue.Have a check and a confirmation on some sample case for reproduction of this issue may help in picking it up for a fix.
@Carlos920 commented on GitHub (Oct 12, 2024):
test.xml