Description
I think the title says it all.
Try adding: <a href="#internal">Internal link</a>
in a page using the AutoLinkResolver and you have repeated the bug.
Hint:
PathInfo pathInfo = new PathInfo("#internal");
creates a PathInfo with anchor == null.