mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[gopher] Another try for #33.
This time replace /URL -> URL for h type.
This commit is contained in:
parent
41c3485add
commit
3d23424b9f
@ -302,6 +302,12 @@ init_gopher_connection_info(struct connection *conn)
|
||||
selectorlen++;
|
||||
}
|
||||
|
||||
if (entity_info->type == GOPHER_HTML && selectorlen > 3
|
||||
&& strncmp(selector, "/URL", 4) == 0) {
|
||||
selector++;
|
||||
selectorlen--;
|
||||
}
|
||||
|
||||
state = add_gopher_command(conn, &command, entity, selector, selectorlen);
|
||||
if (!is_in_state(state, S_CONN))
|
||||
return state;
|
||||
|
Loading…
Reference in New Issue
Block a user