scragg0x / realms-wiki

Git based wiki inspired by Gollum
http://realms.io
GNU General Public License v2.0
831 stars 90 forks source link

Fix subtle bug in new click parameter handling #78

Closed larsimmisch closed 9 years ago

larsimmisch commented 9 years ago

Sorry.

There was a subtle bug in the parameter handling

The parameter names must not be converted to upper case before calling context.invoke, because that works with the lowercase names.

Before this bugfix,, we had kw like this in the various setup_* functions: {'DB_URI': 'sqlite:////tmp/wiki.db', 'db_uri': 'sqlite:////real/path.db'} and whichever won was pretty much random (dict sort order)