|
Post by coldstone on Nov 16, 2006 23:11:01 GMT -5
Versions Affected: GreyMatter 1.6.1 Severity: Moderate Issue Description: Only GM installations with multiple connected files are affected.The code that examines 'connected files' depends on each file name being seperated by the characters '|*|' but as of version 1.6.1 is seperated by the newline character '\n'.
This defect was introduced by the assumption that whenever a config parameter is retrieved from the file, that the internal newline ('|*|') was replaced with the regular newline, however, for the connected files, the switch is made later.
Resolution: This is an easy defect to fix and requires that two lines of code be changed in the gm-library.cgi file. Lines 2502 and 10060. From:
@connectedfilelist = split (/\|\*\|/, $otherfilelist); To:
@connectedfilelist = split ('\\n', $otherfilelist);
Again, my apologies for not catching this in my testing phase.
|
|