Mailing List Archive

Creating tickets w/ Internet Explorer
Hi,

we've found that we couldn't create tickets using IE and trac 0.9.3. I've stepped through a debugger and found that IE wouldn't even transmit those form values to the server (whereas FF and others do, obviously). This is a dump of IE trying to preview a new ticket:

Request (Look ma, no content-type nor length!):
=============================================================================================
POST /projects/DgfpPortal/newticket HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
Referer: http://localhost:8001/projects/DgfpPortal/newticket
Accept-Language: de,en;q=0.5
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
Host: dehdsv0019
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: trac_auth=9b6e185105621c9bf0b232c1e230b2bc
Authorization: NTLM xyz
=============================================================================================

Response:
=============================================================================================
HTTP/1.1 500 Internal Server Error
Date: Thu, 16 Feb 2006 16:36:35 GMT
Server: Apache/2.0.55 (Win32) mod_auth_sspi/1.0.3 DAV/2 SVN/1.3.0 mod_python/3.1.3 Python/2.3.5
Cache-control: must-revalidate
Expires: Fri, 01 Jan 1999 00:00:00 GMT
Content-Length: 3269
Connection: close
Content-Type: text/html;charset=utf-8

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Error - DGFP Portal - Trac</title><link rel="start" href="/projects/DgfpPortal/wiki" /><link rel="search" href="/projects/DgfpPortal/search" /><link rel="help" href="/projects/DgfpPortal/wiki/TracGuide" /><link rel="stylesheet" href="/projects/DgfpPortal/chrome/common/css/trac.css" type="text/css" /><link rel="icon" href="/projects/DgfpPortal/chrome/site/dgfp.ico" type="image/x-icon" /><link rel="shortcut icon" href="/projects/DgfpPortal/chrome/site/dgfp.ico" type="image/x-icon" /><style type="text/css">@import url( /style.css );
</style>
<script type="text/javascript" src="/projects/DgfpPortal/chrome/common/js/trac.js"></script>
</head>
<body>
<div id="banner">
<div id="header"><a id="logo" href="/projects/"><img src="/pecaso.gif" width="200" height="72" alt="Pecaso Project Repository" /></a><hr /></div>
<form id="search" action="/projects/DgfpPortal/search" method="get">
<div>
<label for="proj-search">Search:</label>
<input type="text" id="proj-search" name="q" size="10" accesskey="f" value="" />
<input type="submit" value="Search" />
<input type="hidden" name="wiki" value="on" />
<input type="hidden" name="changeset" value="on" />
<input type="hidden" name="ticket" value="on" />
</div>
</form>
<div id="metanav" class="nav"><ul><li class="first">logged in as austc</li><li><a href="/projects/DgfpPortal/logout">Logout</a></li><li><a href="/projects/DgfpPortal/settings">Settings</a></li><li><a href="/projects/DgfpPortal/wiki/TracGuide" accesskey="6">Help/Guide</a></li><li class="last"><a href="/projects/DgfpPortal/about">About Trac</a></li></ul></div>
</div>
<div id="mainnav" class="nav"><ul><li class="first"><a href="/projects/DgfpPortal/wiki" accesskey="1">Wiki</a></li><li><a href="/projects/DgfpPortal/timeline" accesskey="2">Timeline</a></li><li><a href="/projects/DgfpPortal/roadmap" accesskey="3">Roadmap</a></li><li><a href="/projects/DgfpPortal/browser">Browse Source</a></li><li><a href="/projects/DgfpPortal/report">View Tickets</a></li><li class="active"><a href="/projects/DgfpPortal/newticket" accesskey="7">New Ticket</a></li><li><a href="/projects/DgfpPortal/search" accesskey="4">Search</a></li><li class="last"><a href="/projects/DgfpPortal/admin">Admin</a></li></ul></div>
<div id="main">
<div id="ctxtnav" class="nav"></div>
<div id="content" class="error">
<h3>Error</h3>
<p class="message">
Tickets must contain a summary.
</p>
<p>
<a href="/projects/DgfpPortal/wiki/TracGuide">TracGuide</a>
&mdash; The Trac User and Administration Guide
</p>
</div>
<script type="text/javascript">searchHighlight()</script>
</div>
<div id="footer">
<hr />
<a id="tracpowered" href="http://trac.edgewall.com/"><img src="/projects/DgfpPortal/chrome/common/trac_logo_mini.png" height="30" width="107"
alt="Trac Powered"/></a>
<p class="left">
Powered by <a href="/projects/DgfpPortal/about"><strong>Trac 0.9.3</strong></a><br />
By <a href="http://www.edgewall.com/">Edgewall Software</a>.
</p>
<p class="right">
&copy; Pecaso 2005-2006
</p>
</div>
</body>
</html>
=============================================================================================

The same page, when being accessed by Firefox:

Request:
=============================================================================================
POST /projects/DgfpPortal/newticket HTTP/1.1
Host: dehdsv0019
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8001/projects/DgfpPortal/newticket
Cookie: trac_auth=cd4ac9d369463be7af211bd588c8f08b
Content-Type: application/x-www-form-urlencoded
Content-Length: 171

reporter=austc&summary=huhu&type=task&description=hallo&action=create&status=new&priority=normal&milestone=&component=Frontend&keywords=&owner=&cc=&effort=&preview=Preview
=============================================================================================

(Response is as you would it expect to be)

Any idea what keeps IE from sending form values? Kind regards,

Christian Aust
Development mySAP Human Resources

Pecaso Deutschland
Im Breitspiel 5 - 69126 Heidelberg - Germany
Phone: +49 (0) 6221 3106-270 - Fax: +49 (0) 6221 3106-275
Mailto: <mailto:christian.aust@pecaso.com> - Internet: <http://www.pecaso.com/>



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service.
________________________________________________________________________
RE: Creating tickets w/ Internet Explorer [ In reply to ]
Hi all,

Never mind, it 's a documented IE bug in combination with sspi. See those sites for details:

http://support.microsoft.com/default.aspx?kbid=831167
http://telanis.cns.ualberta.ca/

Solution (unless you're able to upgrade all clients with the MS fix):

* adjust your web server to disable keepalive for all IE 6.x Browsers
* see http://projects.edgewall.com/trac/ticket/1168 and set "SSPIBasicPreferred On" on .../login
* add 'BrowserMatch "MSIE 6\.0; Windows NT 5\." nokeepalive' to trac config

Kind regards,
Christian

-----Original Message-----
From: trac-bounces@lists.edgewall.com [mailto:trac-bounces@lists.edgewall.com]On Behalf Of Aust, Christian
Sent: Thursday, February 16, 2006 5:46 PM
To: Trac (E-Mail)
Subject: [Trac] Creating tickets w/ Internet Explorer


Hi,
we've found that we couldn't create tickets using IE and trac 0.9.3. I've stepped through a debugger and found that IE wouldn't even transmit those form values to the server (whereas FF and others do, obviously). This is a dump of IE trying to preview a new ticket:
Request (Look ma, no content-type nor length!):

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service.
________________________________________________________________________
_______________________________________________
Trac mailing list
Trac@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac