calaos / calaos_installer

Calaos Installer, a tool to create calaos configuration
24 stars 15 forks source link

Line feeds in lua scripts get doubled for each modification cycle in calaos server configuration #31

Closed meyerv closed 7 years ago

meyerv commented 9 years ago

After each cycle of downloading / modifying / uploading calaos server configuration (with 2.0 windows version of calaos_installer), the number of line feeds in lua scripts gets doubled. Configuration shown in calaos_installer corresponds to file on server. The problem seems to occur during uploading or saving.

A part of screen output of : hd -c rules.xml : 0005b5a0 6f 73 3a 67 65 74 49 6e 70 75 74 56 61 6c 75 65 |os:getInputValue| 005b5a0 o s : g e t I n p u t V a l u e 0005b5b0 28 22 69 6e 70 75 74 5f 32 33 38 22 29 0a 0a 0a |("input238")...| 005b5b0 ( " i n p u t 2 3 8 " ) \n \n \n 0005b5c0 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 6c 6f 63 |.............loc| 005b5c0 \n \n \n \n \n \n \n \n \n \n \n \n \n l o c