TADS Bug Database

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000063TADS 3Interpreterpublic2009-05-31 08:412009-06-01 14:15
ReporterEric Eve 
Assigned ToMichael Roberts 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformIntelOSWindowsOS VersionXP
Summary0000063: Leakage of text from <ABOUTBOX> on non-HTML interpreters
DescriptionPeople trying my new game "Shelter from the Storm" found the title of the game duplicated on some of the opening screens, but only on non-HTML interpreters. I tracked the source of the spurious additional title to the setAboutBox() routine (see below), called by cls() (which was the context in which the problem occurred). In essence, non-HTML interpreters were displaying the text from an ALT tag inside an <IMG> tag in the about box, which presumably shouldn't occur.
Steps To Reproduce<CODE>
   setAboutBox()
    {
             
        "<ABOUTBOX>";
        

        "

<IMG SRC='.system/CoverArt.jpg' ALT='Shelter from the Storm'
        ALIGN=LEFT HSPACE=5 width=256 height=256>";
      
        "<FONT FACE=Verdana,Arial,Sans-Serif COLOR=BLUE SIZE=+2>
        <<versionInfo.name>></FONT>
\b
        <FONT FACE=Verdana, Arial,Sans-Serif><<versionInfo.byline>>\bVersion
        <<versionInfo.version>></FONT>\b
        <FONT SIZE=-1 FACE=Verdana,Arial,Sans-Serif><<versionInfo.htmlDesc>>
        </FONT>
</ABOUTBOX>";
    }
;
</CODE>


Additional InformationsetAboutBox() is called from cls(), and it was whenever cls() had just been called that players were seeing the additional 'Shelter from the Storm'. This is turn was coming from the ALT parameter in the IMG tag between the <ABOUTBOX> and </ABOUTBOX> tags, which I assume shouldn't happen. That this is the source of the problem is shown from the fact that removing "ALT = 'Shelter from the Storm' removes the problem.
TagsNo tags attached.
Fixed In Version2.5.15; 3.0.19
Attached Files

- Relationships

-  Notes
(0000107)
Michael Roberts (administrator)
2009-06-01 14:15

Confirmed - the HTML mini-parser in the text-only versions wasn't suppressing ALT text within tags that are meant to be ignored in text-only mode, such as ABOUTBOX tags. I've fixed it for the next update.

- Issue History
Date Modified Username Field Change
2009-05-31 08:41 Eric Eve New Issue
2009-06-01 14:15 Michael Roberts Fixed In Version => 2.5.15; 3.0.19
2009-06-01 14:15 Michael Roberts Note Added: 0000107
2009-06-01 14:15 Michael Roberts Assigned To => Michael Roberts
2009-06-01 14:15 Michael Roberts Status new => resolved
2009-06-01 14:15 Michael Roberts Resolution open => fixed
2009-06-01 14:15 Michael Roberts Category Library - Adv3 => Interpreter


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker