mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[about] Allow change options only from about:config page
This commit is contained in:
parent
ca2c36a467
commit
c019efba2c
@ -100,7 +100,9 @@ about_protocol_handler(struct connection *conn)
|
|||||||
if (!strncmp(conn->uri->data, "config", 6)) {
|
if (!strncmp(conn->uri->data, "config", 6)) {
|
||||||
char *str;
|
char *str;
|
||||||
|
|
||||||
set_option_or_save(conn->uri->data);
|
if (conn->referrer && conn->referrer->protocol == PROTOCOL_ABOUT) {
|
||||||
|
set_option_or_save(conn->uri->data);
|
||||||
|
}
|
||||||
str = create_about_config_string();
|
str = create_about_config_string();
|
||||||
|
|
||||||
if (str) {
|
if (str) {
|
||||||
|
Loading…
Reference in New Issue
Block a user