Check Installed Plugins Against The Store Downloads
Posted: 03 Mar 2014 23:29
A user of one of my Plugins has just reported a problem, which on investigation appears to arise in the Check Installed Plugins Against The Store Plugin.
When an updated Plugin is detected and downloaded, every line has the Carriage Return character code 13 appended.
I have repeated this several times with different Plugins:
Both Ancestral Sources Data Entry and Change Any Fact Tag
But if they are downloaded directly from the FH Plugin Store there is no problem.
If Check Installed Plugins Against The Store line 124 has the following line inserted after it, the problem is fixed.
When an updated Plugin is detected and downloaded, every line has the Carriage Return character code 13 appended.
I have repeated this several times with different Plugins:
Both Ancestral Sources Data Entry and Change Any Fact Tag
But if they are downloaded directly from the FH Plugin Store there is no problem.
If Check Installed Plugins Against The Store line 124 has the following line inserted after it, the problem is fixed.
Code: Select all
data = data:gsub(string.char(13),"") -- Remove CR characters