With Web management for TFS, adding attachments in the editor when new work is in use, and is often not displayed correctly in the editor after success (no machine name is used to access the TFS server, a different domain from the server, or access to an extranet address, etc.).
First find:
Microsoft Team Foundation Server 12.0\application tier\web services\web.config files in the
<compilation defaultlanguage= "C #" explicit= "true" debug= "true" > see if the Debug configuration is True or False
If TRUE indicates debug mode, locate: Microsoft Team Foundation Server 12.0\application tier\web services/_static/tfs/12/_scripts/tfs/ Debug/workitemtracking/scripts/tfs. WorkItemTracking.Controls.js
Set to False to find: Microsoft Team Foundation Server 12.0\application tier\web services/_static/tfs/12/_scripts/tfs/min /workitemtracking/scripts/tfs. WorkItemTracking.Controls.js
Search under this file: Editor.insertimage (attachedfile.url); need to be modified to: Editor.insertimage (Attachedfile.url. Replace (/http:\/\/[ ^/]+/ig, ""));
Adding the modified file is a compressed JS file, the compressed file has been renamed to the variable or parameter:
such as: G.insertimage (A.url);
Then need to search Insertimage, find the code format as described above, and then modified to: G.insertimage (A.url.replace (/http:\/\/[^/]+/ig, ""));