mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Win32: End local subdir HREFs with "/" not "\".
The href attribute is supposed to be URL and so the directory separator should not depend on the conventions of the local operating system.
This commit is contained in:
parent
e4c475f6df
commit
131cf0dd73
@ -102,7 +102,7 @@ add_dir_entry(struct directory_entry *entry, struct string *page,
|
||||
add_string_to_string(page, &uri_encoded_name);
|
||||
|
||||
if (entry->attrib[0] == 'd') {
|
||||
add_char_to_string(page, CHAR_DIR_SEP);
|
||||
add_char_to_string(page, '/');
|
||||
|
||||
#ifdef FS_UNIX_SOFTLINKS
|
||||
} else if (entry->attrib[0] == 'l') {
|
||||
|
Loading…
Reference in New Issue
Block a user