fix #1255 fixing path to the Java Robot applet

This commit fixes the regular expression which was used
to detect absolute URLs. URLs starting with a slash are
now considered absolute, they are not relative to the
<base> tag.