Closed
Bug 85391
Opened 24 years ago
Closed 24 years ago
Download pop-up although file doesn't exist
Categories
(Tech Evangelism Graveyard :: English US, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: markushuebner, Assigned: bc)
References
()
Details
When going to the URL
http://www.world-direct.com/gia/test/asdfasdf.asp
or
http://www.world-direct.com/gia/test/asdfasdf.asp
or any other (non existing) page in this directory
a download pop-up window appears.
If you go to
http://www.world-direct.com/asdfasdf.asp
it's displayed correctly (HTTP/1.1 404 Object Not Found)
Comment 1•24 years ago
|
||
MIME type for the 2 first urls is text/asp
MIME type for the last one is text/html
I don't know if text/asp is a valid mimetype though
Comment 2•24 years ago
|
||
Server misconfiguration
Comment 3•24 years ago
|
||
Server's response to that request:
------------------------------------------------
HTTP/1.1 404 Object Not Found
Set-Cookie: WEBTRENDS_ID=66.31.93.112-585978576.29422444; expires=Fri,
31-Dec-2010 00:00:00 GMT; path=/
Server: Microsoft-IIS/5.0
Date: Tue, 12 Jun 2001 18:18:53 GMT
Content-Type: text/asp
Content-Length: 1810
<!-- #INCLUDE FILE = "PlatFormInclude.asp" -->
<%
function Decode(str)
str = Replace(str,"%C3%A4","ä")
str = Replace(str,"%C3%84","Ä")
str = Replace(str,"%C3%B6","ö")
str = Replace(str,"%C3%96","Ö")
str = Replace(str,"%C3%BC","ü")
str = Replace(str,"%C3%9C","Ü")
str = Replace(str,"%C3%9F","ß")
str = Replace(str,"%20"," ")
Decode = str
end function
dim queryStrings
queryStrings = Split(Request.QueryString, "/")
dim obj
set obj = Server.CreateObject("WD_SAL_B2C.WD_HotelData")
dim sXML
sXML = obj.GetIDByWebShortCut("<sal_params version=""1.0"">" & _
"<sal_param1><![CDATA[" &
Decode(queryStrings(Ubound(queryStrings))) & "]]></sal_param1>" & _
"<sal_param2>" & GetLanguageNr &
"</sal_param2>" & _
"</sal_params>")
set obj = nothing
'
Response.ContentType = "application/xml"
'
Response.Write "<?xml version='1.0' encoding='iso-8859-1'?>"
'
Response.Write sXML
if not XMLError(sXML) then
dim pos
dim hotel_nr
dim xmlFatObj
set xmlFatObj = Server.CreateObject("WD_XMLFragTools.WD_FragAccess")
pos = xmlFatObj.GotoElement(cstr(sXML), "sal_output/return_data")
hotel_nr = xmlFatObj.GetElementValue(cstr(sXML), pos)
set xmlFatObj = nothing
if hotel_nr <> "-1" then
Response.Redirect "Start.asp?web_shortcut=yes&hotel_nr=" & cstr(hotel_nr)
'
Session("CurrentSiteName") = "ShowHotel"
'
Session("CurrentQueryString") = "hotel_nr=" & hotel_nr & "&hotel_nrs="""
else
Response.Redirect "Start.asp?web_shortcut=yes&hotel_nr=0&query_string=" &
Request.QueryString
'
Session("CurrentSiteName") = "NoWebShortcut"
'
Session("CurrentQueryString") = Request.QueryString
end if
end if
%>
----------------------------------------
So we do the right thing here. The server returns a text/asp message with the
404 code, and we're supposed to try to display it. Too bad we can't display
text/asp content. The server should be processing the ASP and returning it as
text/html. NS 4.x brings up a "Save As..." dialog here, by the way.
http://www.world-direct.com/asdfasdf.asp correctly returns an HTML mime type and
HTML content.
Over to evangelism.
Assignee: asa → bclary
Status: UNCONFIRMED → NEW
Component: Browser-General → Evangelism
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: doronr → zach
| Assignee | ||
Updated•24 years ago
|
Priority: -- → P3
| Reporter | ||
Comment 4•24 years ago
|
||
The server wasn't configured correctly.
Instead of returning a URL for the 404 error the setting said returning FILE.
Changing this to INVALID
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Comment 5•24 years ago
|
||
Reopening. INVALID is not an allowed resolution in the Evangelism component.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 6•24 years ago
|
||
Resolving fixed per Markus' comments.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•24 years ago
|
||
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for
details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•