Refering to FileServerHandler.vb v4.5.3, line 77 sets URL for user profile links, line 81 sets URL for other than file links.
Note that at line 91 then if type is not "File" then we re-assign URL = Common.Globals.LinkClick(URL,TabID,ModuleId,False)
- (this gives us the URL we need for the Redirect at line 132 (type Url) AND line 136 (other than type File and Url) -
... But NOTE we have just lost (URL at line 91) what is needed at line 111 objUrlsUrlTracking(_portalSettings.PortalId, URL, ModuleId, -1)
- (this was what was passed-in in the querystring - the value we need to look up in the database)
Consequently the call, later to UpdateUrlTracking will fail because we're trying to look up by a complete URI instead of what was
stored in the database.
Consequently, LinkClick.aspx (HttpHandler) DOES NOT WORK for other than type 'File' links.
I've replaced the HttpHandler for now but would be grateful if someone could fix this in DotNetNuke.