I love website bugs!

Sorry, a little software development joy. I was browsing around food links that I read on this article and when looking at ethnicgrocer.com and decided to look at what they think French Pantry Essentials should look like, I received the following message:

Server Error in ‘/’ Application.
Parser Error Message: The server block is not well formed.
Line 7: <%@ userAgent = Request.ServerVariables("HTTP_USER_AGENT") userAgent = lcase(userAgent) if Instr(userAgent, "googlebot") then Response.redirect("http://www.myethnicworld.com/&quot;) %>

You can see the full page here. Look also at the source code. In the bottom you will see the stack trace and a very useful warning message:

This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode=”Off”/>. Consider using <customErrors mode=”On”/> or <customErrors mode=”RemoteOnly”/> in production environments.–>

Should I be the person seeing this? I really don’t know why this is still the default behavior on web servers. It should be aware of the client and just dump debugging information if you have some sort of cookie set. Enough of seeing other people’s code out there!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s