Bug #322
HTML in forum names in 1.4.8
| Status: | Closed | Start: | 07/07/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Tom Moore | % Done: | 100% |
|
| Category: | Forum Display | |||
| Target version: | 1.4.10 | |||
| Reproducibility: | Browser: | |||
| Reported In MyBB Version: | 1.4.8 | Database Type: | ||
| PHP Version: | Database Version: |
Description
In 1.4.8, the navigation was changed to fix this bug: http://community.mybboard.net/thread-50291.html
This "broke" the HTML allowed in forum names: http://community.mybboard.net/attachment.php?aid=14496
Associated revisions
Fixes HTML in forum names in 1.4.8 (fixes:322)
History
Updated by Tom Moore about 1 year ago
The suggestion is to replace the htmlspecialchars_uni in the navigation with a replacement for & (to &).
This should keep the conformity of the previous releases while attempting to fix a problematic valid html error.
Updated by Dennis Tsang about 1 year ago
Only if it's not being used as one of those special characters, right?
Updated by Tom Moore about 1 year ago
It would replace just a plain "&", and nothing in a special character. So "Forum & Posts" will become "Forum (amp) Posts"
Updated by Tom Moore about 1 year ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
- Reported In MyBB Version set to 1.4.8
Applied in changeset r4443.
With this changeset, I've replaced htmlspecialchars_uni with a preg_replace; this is to provide global support for unicode in forum names. Different places in MyBB used different functions to parse the forum names, so for some level of conformity, I've altered these places (ACP forum management, forumdisplay and navigation).
So, this means characters such as » can't be used; its unicode equivilant ("»") should be used instead.
Updated by Chris W. B. 12 months ago
- Status changed from Resolved to Closed
Updated by Ryan Gordon 12 months ago
- Target version changed from 1.4.9 to 1.4.10