Bug Report #1214
Patches to change substr($x, $y, 1) to $x[$y]
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Core | |||
| Target version: | 2.3.3 | |||
| Resolution: | Points: |
Description
Provided are some patches that change substr($x, $y, 1) to $x[$y], avoiding the substr function call.
Related issues
Associated revisions
Fixes #1214
History
Updated by Jeremy Bush almost 3 years ago
Looks like these are just performance enhancements, so they could go in 2.3.3.
Updated by Chris Bandy over 2 years ago
Captcha has one more.
Updated by Sam de Freyssinet over 2 years ago
- Status changed from New to Assigned
- Assignee set to Sam de Freyssinet
Updated by Sam de Freyssinet over 2 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset r4367.
Updated by jordan shaw over 2 years ago
- File Auth.php.diff added
- Status changed from Closed to Feedback
- 11 set to 2.3.4
I had to wrap the for loop in a if(!empty($password)), otherwise $password[$offset + $i] was trying to referenced nothing.
Updated by Jeremy Bush over 2 years ago
- Status changed from Feedback to Closed
Please file a new ticket for the Auth bug.