Changeset 223

Show
Ignore:
Timestamp:
01/04/07 01:47:48 (2 years ago)
Author:
Gregor
Message:

edit.php: Need to strip slashes and a tpyo.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dsss-smi/edit.php

    r219 r223  
    7878    // 2) sanitize input data 
    7979    $indat = str_replace("\r", "", $_POST['cont']); 
    80     $inlines = explode("\n", $_POST['cont']); 
     80    $indat = stripslashes($indat); 
     81    $inlines = explode("\n", $indat); 
    8182    foreach ($inlines as $line) { 
    8283        if (substr($line, 0, 1) == "#") continue;