longzu / csexwb2

Automatically exported from code.google.com/p/csexwb2
0 stars 0 forks source link

Exception in cEXWB.cs when clicking "Request Responce Headers" on local page/browser #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In the demo-app visit a folder on your harddrive, for example C:
2. Click "Request Responce Headers" in the Tools menu
3. Getting an unhandled stack overflow exception in cEXWB.cs line 5033

What version of the product are you using? On what operating system?
1.0.0.5; XP pro SP 2

Please provide any additional information below.
I first came around this bug with a .html file displayed which I opened 
from my hard drive, but I was not able to reproduce the error. It can be 
reliable reproduced by visiting a folder, not a file, but you should now 
that I had the bug with a .htm-file on my harddrive first (befor any 
folders have ever been loaded in cEXWB)

dartrax

Original issue reported on code.google.com by dart...@gmail.com on 3 Sep 2007 at 12:35

GoogleCodeExporter commented 8 years ago
Hi,

The "Asynchronous Pluggable Protocol" part of the control which is responsible 
to 
catch and relay request and response headers can only handle HTTP and HTTPS 
protocols. When you attempt to view a folder, the resulting document is not an 
HTML 
document any longer. It does not include an "Internet Explorer_Server". 
Attempting 
to access and use this document as you would with an HTML document results in 
exceptions.

In regard to openning a local HTML file, I am unable to produce any exceptions. 
But, 
I will try to run some extensive testing when I get a chance.

MH

Original comment by mehr...@gmail.com on 3 Sep 2007 at 6:27