diff options
author | Paul Wise <pabs@debian.org> | 2013-06-06 03:47:22 +0000 |
---|---|---|
committer | Paul Wise <pabs@debian.org> | 2013-06-06 03:47:22 +0000 |
commit | 6d10d9b760ff90bbe3ac08b05da410753c6e928d (patch) | |
tree | 4833f7ab5cc7ed5fbed2ddff9a9d9b566dfd7996 /lib/python/web_support.py | |
parent | 88613025227b69ee77e53667e71471a36fa4aba1 (diff) |
Link to OSVDB and EDB search pages for the CVE
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@22511 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/web_support.py')
-rw-r--r-- | lib/python/web_support.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/web_support.py b/lib/python/web_support.py index 95525427c5..866addef56 100644 --- a/lib/python/web_support.py +++ b/lib/python/web_support.py @@ -182,6 +182,11 @@ class URLFactory: return URL(url + self._convertArgs(args)) + def absoluteDict(self, url, args): + """Creates an absolute URL, with arguments to pass.""" + + return URL(url + self._convertArgs(args)) + def scriptRelative(self, path, **args): """Returns a URL which references to the path relative to the current script. Optionally, arguments to pass can be included.""" |