mirror of
https://github.com/rkd77/elinks.git
synced 2025-09-21 19:46:23 -04:00
Set ecmascript.enable = 0 by default.
ECMAScript support is still considered experimental, and there are several known vulnerabilities (bugs 548, 755, 771).
This commit is contained in:
committed by
Kalle Olavi Niemitalo
parent
7b931a2de0
commit
92d079de82
@@ -43,7 +43,7 @@ static struct option_info ecmascript_options[] = {
|
|||||||
N_("ECMAScript options.")),
|
N_("ECMAScript options.")),
|
||||||
|
|
||||||
INIT_OPT_BOOL("ecmascript", N_("Enable"),
|
INIT_OPT_BOOL("ecmascript", N_("Enable"),
|
||||||
"enable", 0, 1,
|
"enable", 0, 0,
|
||||||
N_("Whether to run those scripts inside of documents.")),
|
N_("Whether to run those scripts inside of documents.")),
|
||||||
|
|
||||||
INIT_OPT_BOOL("ecmascript", N_("Script error reporting"),
|
INIT_OPT_BOOL("ecmascript", N_("Script error reporting"),
|
||||||
|
Reference in New Issue
Block a user