Ticket #936 (closed defect: fixed)
Off-by-one error in AgaviToolkit::stringBase()
| Reported by: | felix | Owned by: | felix |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.6 |
| Component: | util | Version: | 0.11.5 |
| Severity: | normal | Keywords: | |
| Cc: | Patch attached: | no |
Description
AgaviToolkit::stringBase() returns the length of the common substring, but is off by one char, the length reported is one too low.
The method is called in AgaviRouting?, so take care when adapting the returned value.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

