Skip to content
Snippets Groups Projects
Commit a2485522 authored by deuce's avatar deuce
Browse files

Parse section names when reading binkit.ini to ensure it's a legal address.

Most useful to truncating the domain to 8 chars.
parent 1d85fb4f
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,7 @@ function BinkITCfg()
this.caps = f.iniGetValue(null, 'Capabilities');
sects = f.iniGetSections();
sects.forEach(function(section) {
var sec = section.toLowerCase();
var sec = new FIDO.parse_addr(section.toLowerCase(), 1, 'fidonet');
this.node[sec] = {};
this.node[sec].pass = f.iniGetValue(section, 'Password');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment