This doesn't seem right:
'!uri_brief' => drupal_substr($base_url, drupal_strlen('http://')),
$base_url could have the https:// protocol specifier.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | password_policy-7.x-1.x-use_d7_tokens-2464779-10.patch | 13.94 KB | aohrvetpv |
Comments
Comment #1
aohrvetpv commentedComment #2
aohrvetpv commentedThis looks to be a more general problem: The token code is incompletely upgraded from D6.
!foostyle tokens are no longer used, in favor of[foo:bar]style tokens. Upgrading the token support should fix the original bug reported in this issue.Comment #3
aohrvetpv commentedPatch switches to using D7 tokens.
Still need update code to convert D6 tokens to D7 tokens.
Comment #5
aohrvetpv commentedFix syntax error.
Comment #6
aohrvetpv commentedComment #7
aohrvetpv commentedStill need update code to convert D6 tokens to D7 tokens.
Comment #8
aohrvetpv commentedAdd update code.
Comment #9
aohrvetpv commentedNeeds test method(s).
Comment #10
aohrvetpv commented- Add token
[password-policy:password-edit-url]. The previous patches were incorrectly using[user:edit-url]in the warning e-mails, which is the wrong URL when the Password Change Tab submodule is enabled.- Add test method.
Comment #12
aohrvetpv commented