Fog Creek Software
Discussion Board




Notification contains the wrong server name

function EmailNotification in CBug.asp generates email notification, but the URL used in the notification is not always correct.

Say, I use "localhost" for my browser to access the FogBugz server, then the notification emails generated also has "localhost" in the URL line.

The function calls GetURLPrefix to get server name, but GetURLPrefix actually returns the server name used by the browser, instead of a formal qualified server name.

Request.ServerVariables("SERVER_NAME")

This name should be configurable in the registry, and be independent to browsers.

Liang-Yun wang
Tuesday, March 16, 2004

*  Recent Topics

*  Fog Creek Home