diff --git a/VERSION b/VERSION index 38d6565c..69b8a7ec 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2011-12-19 23:15:35) stable +Version 1.99.4 (2011-12-19 23:20:09) stable diff --git a/gluon/tools.py b/gluon/tools.py index 3a8aa599..47ab92aa 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -72,11 +72,7 @@ def call_or_redirect(f,*args): def replace_id(url, form): if url and not url[0] == '/' and url[:4] != 'http': - # this is here for backward compatibility return URL(url.replace('[id]', str(form.vars.id))) - elif url: - # this allows http://..../%(id)s/%(name)s/etc. - return url % form.vars return url class Mail(object):