The warning/error message "Oops, looks like this request tried to create an infinite loop. We do not allow such things here. We are a professional website!" is missing the t() translation function. It is located in redirect.module

Fixing it by applying the t() function inside drupal_set_message (see http://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/drupa...)

At the same time setting the message to be display as a "warning" to better make end users aware of the problem (currently it is printed as a regular status message).

drupal_set_message(t('Oops, looks like this request tried to create an infinite loop. We do not allow such things here. We are a professional website!'), 'warning');
Files: 
CommentFileSizeAuthor
#1 missing_t_function-1903228-1.patch610 bytesseiplax
PASSED: [[SimpleTest]]: [MySQL] 101 pass(es). View

Comments

seiplax’s picture

Status: Active » Needs review
FileSize
610 bytes
PASSED: [[SimpleTest]]: [MySQL] 101 pass(es). View

Here is the patch

Dave Reid’s picture

Status: Needs review » Fixed

I've been meaning to change this for a while, sorry. This has been fixed with http://drupalcode.org/project/redirect.git/commit/ad09f6c

seiplax’s picture

Thanks Dave :)

Automatically closed -- issue fixed for 2 weeks with no activity.