Grey Matter Forums
« GM 1.6.1 has issues with multiple connected files »

Welcome Guest. Please Login or Register.
Sept 2, 2010, 9:54am



Greymatter: Free Personal Blogging Software

About Greymatter (including System Requirements)

Greymatter on FreshMeat

Download current version from:

News: Greymatter 1.8.2 is released! Read the announcement.

Got a minute? We want to know what's your preferred site navigation?

Please read the security announcement regarding author passwords.

Next Greymatter release will be 1.8.3


Grey Matter Forums :: Development :: Bug Reports :: GM 1.6.1 has issues with multiple connected files
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: GM 1.6.1 has issues with multiple connected files (Read 932 times)
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 GM 1.6.1 has issues with multiple connected files
« Thread Started on Nov 16, 2006, 11:11pm »

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:
Code:
    @connectedfilelist = split (/\|\*\|/, $otherfilelist);

To:
Code:
    @connectedfilelist = split ('\\n', $otherfilelist);


Again, my apologies for not catching this in my testing phase.
« Last Edit: Jan 4, 2007, 6:25pm by coldstone »Link to Post - Back to Top  IP: Logged
   [Search This Thread][Send Topic To Friend] [Print]

Google
Webgreymatterforum.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Report Abuse | Mobile