Skip to content

Commit 6bba139

Browse files
committed
Fix internationalized strings with multiple unlabeled % replacements.
Get rid of warnings from gettext about untranslatable strings. fix typo in key.
1 parent 281ba89 commit 6bba139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ def handle_csrf(self, api=False):
14541454
if enforce in ('required', 'yes'):
14551455
logger.error(self._(
14561456
"csrf X-FORWARDED-HOST header check failed for user%(userid)s. Value=%(host)s") % {
1457-
'usierid': current_user, 'host': host})
1457+
'userid': current_user, 'host': host})
14581458
raise Unauthorised(self._(
14591459
"Invalid X-FORWARDED-HOST %s") % host)
14601460
elif enforce == 'logfailure':

0 commit comments

Comments
 (0)