Closed
Bug 508303
Opened 16 years ago
Closed 16 years ago
Need mb library for SUMO
Categories
(support.mozilla.org :: General, defect)
support.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
1.4
People
(Reporter: paulc, Assigned: paulc)
References
Details
(Whiteboard: tiki_upstream)
Attachments
(1 file)
4.38 KB,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
There's a lot of places on SUMO where we use trim(). Since we're dealing with multi-byte characters, we should have a mb_trim() function and use that instead, it's safer. Same goes for a few other functions, such as str_replace()
Assignee | ||
Comment 1•16 years ago
|
||
FTR, I plan to use this in the newsearch rewrite part of ForumUX. So no need to review this yet, as it's not being used anywhere.
Attachment #392529 -
Flags: review?(smirkingsisyphus)
Attachment #392529 -
Flags: review?(laura)
Assignee | ||
Comment 2•16 years ago
|
||
We could make this part of 1.3 and replace trim() with mb_trim() pretty much everywhere. What do you think, Laura?
Severity: normal → major
Updated•16 years ago
|
Whiteboard: tiki_triage
Updated•16 years ago
|
Attachment #392529 -
Flags: review?(laura) → review+
Assignee | ||
Comment 3•16 years ago
|
||
r50947 / r50948
QA: Nothing to verify here, but we will use these multi byte friendly functions to trim whitespace from strings in the future.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•15 years ago
|
||
Comment on attachment 392529 [details] [diff] [review]
patch, v1
Just going through my r? list
Attachment #392529 -
Flags: review?(smirkingsisyphus)
Updated•15 years ago
|
Whiteboard: tiki_triage → tiki_discuss
Comment 5•15 years ago
|
||
Not sure why tiki_discuss was added here.
Updated•15 years ago
|
Whiteboard: tiki_discuss → tiki_upstream
You need to log in
before you can comment on or make changes to this bug.
Description
•