mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #03831
[Bug 1380455] [NEW] MXP line tag 4 does not revert to prior mode at end of tag
Public bug reported:
The MXP spec says that line tag 4 should enable secure mode, but only
for the next tag. It should revert back to its prior mode after the tag
has closed. When Mudlet receive line tag 4, it switches to secure mode,
but it sticks permanently rather than reverting back as it should. This
causes some problems for certain MUDs. For example, in Lusternia (and
presumably other IRE MUDs), they exclusively send MXP via line tag 4 for
their MXP command. When a user turns off MXP on the server, Lusternia
stops sending MXP commands to Mudlet. But, Mudlet is still stuck in MXP
security mode because it didn't revert back at the end of each tag. This
causes it to squelch anything between a < and >, mistakingly thinking
them as MXP tags.
MXP references:
https://web.archive.org/web/20101023084054/http://www.mudstandards.org/MXP_Line_Tags
www.zuggsoft.com/zmud/mxp.htm#MXP%20Line%20Tags
I have attached a patch to fix this bug.
If you want to reproduce the bug, here are steps using Lusternia as your host (or possibly any IRE game). Enter these commands:
CONFIG MXP ON
CONFIG MXP OFF
SAY <Yo!>
With this bug, the second <Yo!> that is echoed back is squelched. With
my patch, it works fine.
** Affects: mudlet
Importance: Undecided
Status: New
** Tags: mxp
** Patch added: "mxp-line-tag-4.patch"
https://bugs.launchpad.net/bugs/1380455/+attachment/4233648/+files/mxp-line-tag-4.patch
--
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1380455
Title:
MXP line tag 4 does not revert to prior mode at end of tag
Status in Mudlet the MUD client:
New
Bug description:
The MXP spec says that line tag 4 should enable secure mode, but only
for the next tag. It should revert back to its prior mode after the
tag has closed. When Mudlet receive line tag 4, it switches to secure
mode, but it sticks permanently rather than reverting back as it
should. This causes some problems for certain MUDs. For example, in
Lusternia (and presumably other IRE MUDs), they exclusively send MXP
via line tag 4 for their MXP command. When a user turns off MXP on the
server, Lusternia stops sending MXP commands to Mudlet. But, Mudlet is
still stuck in MXP security mode because it didn't revert back at the
end of each tag. This causes it to squelch anything between a < and >,
mistakingly thinking them as MXP tags.
MXP references:
https://web.archive.org/web/20101023084054/http://www.mudstandards.org/MXP_Line_Tags
www.zuggsoft.com/zmud/mxp.htm#MXP%20Line%20Tags
I have attached a patch to fix this bug.
If you want to reproduce the bug, here are steps using Lusternia as your host (or possibly any IRE game). Enter these commands:
CONFIG MXP ON
CONFIG MXP OFF
SAY <Yo!>
With this bug, the second <Yo!> that is echoed back is squelched. With
my patch, it works fine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1380455/+subscriptions
Follow ups
References