rem: quote(rows.getColumnItem("tag")), quote(taggedType)] + ")"; 
add: quote(rows.getColumnItem("tag").replace(/^[\/\.]*$/, "?")), quote(taggedType)] + ")"; 
context:    function createTags(siteId, taggedType) {      var sql;      var query = "select text_topic as tag from av_text where text_f_site = " +            siteId + " and text_topic is not null group by text_topic";      if (taggedType === "Image") {         query = query.replace(/text/g, "image");      }      writeln(query);      var rows = db.executeRetrieval(query);      while (rows && rows.next()) {         sql = "insert into tag values (" + [tagCounter, siteId,                quote(rows.getColumnItem("tag")), quote(taggedType)] + ")";         writeln(sql);         db.executeCommand(sql);         tagCounter += 1;      }      rows && rows.release();      return;   }
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/61fedcb4bcca69125274964de9d85a3f6a2aa461/conversion.js/buggy/compatibility/Global/conversion.js