summaryrefslogtreecommitdiffstats
path: root/avahi-utils/avahi-bookmarks.in
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-08-30 09:08:00 +0000
committerTrent Lloyd <lathiat@bur.st>2005-08-30 09:08:00 +0000
commitbe10803e4dee7cb430423248f12685353c1ea166 (patch)
tree2a442f943d2fa1d44bdfd8c9d44627349651cb74 /avahi-utils/avahi-bookmarks.in
parent783a4ade4d0cb95294556091798fd20b13d39fd8 (diff)
* Make a small fix to avahi-bookmarks where the URL was incorrect if the path specified had no / at the start
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@502 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-utils/avahi-bookmarks.in')
-rwxr-xr-xavahi-utils/avahi-bookmarks.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-utils/avahi-bookmarks.in b/avahi-utils/avahi-bookmarks.in
index 07ca8f0..39c1d8c 100755
--- a/avahi-utils/avahi-bookmarks.in
+++ b/avahi-utils/avahi-bookmarks.in
@@ -101,7 +101,7 @@ class AvahiBookmarks(resource.Resource):
else:
ip = v[2]
- t += '<li><a href="%s://%s%s%s">%s</a></li>' % (urlproto[k[3]], ip, port, path, k[2])
+ t += '<li><a href="%s://%s%s/%s">%s</a></li>' % (urlproto[k[3]], ip, port, path, k[2])
t += '</ul>'