libservo: Enable file directory listing by default (#35317)

This is a useful feature to have in a browser engine, so I think it
should be enabled by default. I believe that the original concern was
that there was a security issue, but this certainly has the same
security concerns as normal file loading.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2025-02-06 11:05:04 +01:00 committed by GitHub
parent 6a5cb22451
commit e7a6691628
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -370,7 +370,7 @@ impl Preferences {
network_enforce_tls_localhost: false,
network_enforce_tls_onion: false,
network_http_cache_disabled: false,
network_local_directory_listing_enabled: false,
network_local_directory_listing_enabled: true,
network_mime_sniff: false,
session_history_max_length: 20,
shell_background_color_rgba: [1.0, 1.0, 1.0, 1.0],