View Issue Details

IDProjectCategoryView StatusLast Update
0000168WackoWikihandlerpublic2019-02-14 04:25
Reporteradministrator Assigned ToTann San  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionduplicate 
Fixed in Version5.0.0 
Summary0000168: pagesize issue - missing indication for oversized input
Description> TEXT 65.535 Byte


handlers/page/edit.php
if ($_POST)
    {
        $maxchars = 62000; // should be more flexible
        $textchars = strlen($_POST["body"]);

...

// only if saving:
    if ($_POST["save"])
    {
// check text length
            if ($textchars > $maxchars)
                $error .= str_replace("%1", $textchars - $maxchars, $this->GetResourceValue("TextDBOversize"))." ";
Additional InformationHotfix (only for experienced users, side effects!)

ALTER TABLE `wacko_pages`
CHANGE `body` `body` MEDIUMTEXT NOT NULL ,
CHANGE `body_r` `body_r` MEDIUMTEXT NOT NULL

ALTER TABLE `wacko_revisions`
CHANGE `body` `body` MEDIUMTEXT NOT NULL ,
CHANGE `body_r` `body_r` MEDIUMTEXT NOT NULL


TEXT: 2^16–1 -> 64 kB
MEDIUMTEXT: 2^24–1 -> 16,4 MB
TagsNo tags attached.

Relationships

parent of 0000115 resolvedTann San var dbclick = "page"; 
related to 0000181 resolvedadministrator Formatter fails under some circumstances and produces a blank page 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2008-05-12 02:54 administrator New Issue
2008-05-12 02:54 administrator Legacy => NEW
2008-05-12 02:54 administrator Relationship added related to 0000115
2008-05-12 03:00 administrator Additional Information Updated
2008-05-15 09:47 Tann San Status new => assigned
2008-05-15 09:47 Tann San Assigned To => Tann San
2008-05-18 22:46 administrator Description Updated
2008-06-18 09:56 Tann San Relationship deleted related to 0000115
2008-06-18 09:57 Tann San Relationship added parent of 0000115
2008-10-23 15:32 administrator Relationship added related to 0000181
2008-11-23 00:40 administrator Additional Information Updated
2010-03-08 10:14 administrator Category Handler => handler
2019-02-14 04:25 administrator Status assigned => resolved
2019-02-14 04:25 administrator Resolution open => duplicate
2019-02-14 04:25 administrator Fixed in Version => 5.0.0