Secret ingredients to quality software

Do you avoid using UNCs in HREFs?

Last updated by Tiago Araújo [SSW] on 12 Mar 2021 07:56 pm (5 months ago) See History

Initially, errors of this nature would be picked up in the link checking utility. However, that is not the case because the link checker will not report any problems if you run it locally - which is the normal method. The reason it won't see the problems is because the link checking utility does not check hard coded links to local servers (e.g. localserver/ssw/Default.aspx). Therefore, it is testing a page that will exist internally, but the page will not exist when uploaded to the web (e.g.

<a href="//ant/ssw/LookOut.htm">

Bad Example

<a href="/ssw/LookOut.htm">

Good Example

Adam CoganAdam Cogan

We open source. This page is on GitHub