Page MenuHomePhabricator

"Move subpages" option attempts to move to invalid titles
Closed, ResolvedPublic


Patch: use Title::newFromText

The "move subpages" option creates Title objects using Title::makeTitle without checking if the input will allow the creation of a valid title. If a base page is moved to a very long title, subpages of the base page may have titles longer than 255 characters. The pages are still moved and logged as if the page was moved to the invalid title (except the links don't work), but the actual title in the database is truncated to 255 characters.

Version: 1.13.x
Severity: normal




Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:13 PM
bzimport set Reference to bz14385.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

Committed with modifications in r35824.