1828665 Members
1452 Online
109984 Solutions
New Discussion

WASD strange reacting

 
Wim Van den Wyngaert
Honored Contributor

WASD strange reacting

I browse a .txt file which is a text file with in it xxx .

Result is xxx becomes the title but the txt file is no longer shown correctly : the LF is no longer executed.

I would like to understand why the txt file is interpreted ?

Output in IE (on 1 line) :
/* */ /* From: "Craig A. Berry" Date: Sun, 30 Sep 2001 13:19:09 PDT > TXT2PDF

Wim
Wim
6 REPLIES 6
Steven Schweda
Honored Contributor

Re: WASD strange reacting

I don't know anything, but I'd guess that
you were ok until you added a HTML tag, and
then the server started treating the file as
HTML (where a line ending is just more white
space). Perhaps it would help if you added
 after the title, and 
at the end.

I'd guess that WASD was trying to help you,
and then you outsmarted it.
Robert Gezelter
Honored Contributor

Re: WASD strange reacting

Wim,

Are you sure that it is the WASD server and not your WWW Browser. The file should be served up verbatim, it is the browser that does all of the formatting.

Which browser are you using?

- Bob Gezelter, http://www.rlgsc.com
Steven Schweda
Honored Contributor

Re: WASD strange reacting

> The file should be served up verbatim [...]

Not really. The server may add metadata,
like, for example, "Content-Type: text/html;
charset=iso-8859-1" and the like, which are
not part of the file being serverd, but which
can affect the way the browser will
interpret/render the actual file data.

You may need to be using HTTP/1.1 to get the
extra goodies. Telnet to port 80 is the way
to see exactly what the server spews, but you
need to know how to phrase the request.
(For deatils, have Google look for words like
"telnet 80 http".
Wim Van den Wyngaert
Honored Contributor

Re: WASD strange reacting

I was using IE. Will check at work what mapping I exactly defined for txt files.

Here you see Joseph Huber's link :
http://wwwvms.mppmu.mpg.de/vmssig/src/c/txt2pdf.c also wrong.

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: WASD strange reacting

The txt files are mapped in WASD config to text/plain.

This is WATCH output :

Content-Type: text/plain; charset=ISO-8859-1
Content-Length: 9335

|12:02:53.79 NET 1948 0001 RES-BODY BODY 4096 bytes|
/* TXT2PDF modified versi<BR />on */./*.From: "Craig A
. Berry" ...

So, WASD clearly told IE the plain text phrase and did give the HTML tag.

I tried the same in mozilla for VMS (1.5). It works correctly (the html tag is not interpreted).

Microsoft bug ? I'm using 6.0 on XP.

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: WASD strange reacting

I hope Mark Daniel will not read this. The title should be IE reacting strangely.

http://www.howtocreate.co.uk/wrongWithIE/?chapter=Content-type%3A+text%2Fplain

Wim
Wim