We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4c340c commit 80e94bdCopy full SHA for 80e94bd
debug_toolbar/forms.py
@@ -77,7 +77,8 @@ def reformat_sql(self):
77
return reformat_sql(self.cleaned_data['sql'])
78
79
def make_hash(self, data):
80
- params = force_text(settings.SECRET_KEY) + data['sql'] + data['params']
+ params = (force_text(settings.SECRET_KEY) +
81
+ force_text(data['sql']) + force_text(data['params']))
82
return hashlib.sha1(params.encode('utf-8')).hexdigest()
83
84
@property
0 commit comments