diff -r 8f2446858dd3 MoinMoin/action/anywikidraw.py
--- a/MoinMoin/action/anywikidraw.py	Mon Mar 01 00:23:21 2010 +0100
+++ b/MoinMoin/action/anywikidraw.py	Thu Apr 15 11:54:50 2010 +0200
@@ -63,6 +63,21 @@
         map = map.replace(u'name="%s.svg"' % drawing, u'name="%s"' % mapid)
         # unxml, because 4.01 concrete will not validate />
         map = map.replace(u'/>', u'>')
+
+        # Add script_root to image map links which direct to wiki pages.
+        script = self.request.script_root
+        regexes = re.compile('(?:href=")+(?P<url>[^"]+)"+')
+        def correct_map_match( match):
+            url = match.group("url")
+
+            if not url.startswith("http://"):
+                return r'href="' + script + "/" + url + '"'
+            else:
+                return r'href="' + url + '"'
+        map = regexes.sub(correct_map_match, map)
+      
+      
+        
         title = _('Clickable drawing: %(filename)s') % {'filename': self.text(containername)}
         if 'title' not in kw:
             kw['title'] = title
