MantisBT - NetSurf
View Issue Details
0002326NetSurf[All Projects] Generalpublic2015-06-23 15:202017-10-16 23:40
ReporterGeoffrey 
Assigned ToMichael Drake 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSManjaro LinuxOS Version0.9
Product Version3.3 
Target Version3.7Fixed in Version3.7 
Fixed in CI build #4050
Reported in CI build #
URL of problem page
Summary0002326: Out Of Memory error with invalid file URL as homepage
DescriptionIf I put
file://
as the homepage instead of file:///
NetSurf complains at start with an "out of memory" error, while that's clearly not the case.
TagsNo tags attached.
Attached Files

Notes
(0000861)
Vincent Sanders   
2015-06-23 23:51   
How strange, it is still present even in current head.
(0000864)
Vincent Sanders   
2015-06-25 00:19   
OK updated error reporting in fetch_start yields a "bad url" error instead of "no memory" and it seems this comes from the nsurl modules handling of the file scheme.

both these fail
file:
file://
but these work as expected
file:/
file:///

tlsa suggests this is a regression and we need to revisit https://url.spec.whatwg.org/ So i am reassigning this to tlsa to see what he can do with it.
(0001529)
Michael Drake   
2017-03-27 12:29   
Fixed on master.
(0001670)
Vincent Sanders   
2017-10-16 23:40   
Thankyou for your report, this has been resolved in the 3.7 release

Issue History
2015-06-23 15:20GeoffreyNew Issue
2015-06-23 23:51Vincent SandersNote Added: 0000861
2015-06-23 23:51Vincent SandersAssigned To => Vincent Sanders
2015-06-23 23:51Vincent SandersStatusnew => confirmed
2015-06-23 23:51Vincent SandersTarget Version => 3.4
2015-06-23 23:51Vincent SandersDescription Updatedbug_revision_view_page.php?rev_id=1490#r1490
2015-06-25 00:19Vincent SandersNote Added: 0000864
2015-06-25 00:19Vincent SandersAssigned ToVincent Sanders => Michael Drake
2016-02-16 13:46Vincent SandersTarget Version3.4 => 3.5
2016-04-12 11:47Vincent SandersTarget Version3.5 => 3.6
2017-03-27 12:29Michael DrakeFixed in CI build # => 4050
2017-03-27 12:29Michael DrakeNote Added: 0001529
2017-03-27 12:29Michael DrakeStatusconfirmed => resolved
2017-03-27 12:29Michael DrakeResolutionopen => fixed
2017-03-27 12:29Michael DrakeFixed in Version => 3.7
2017-03-27 12:29Michael DrakeTarget Version3.6 => 3.7
2017-10-16 23:40Vincent SandersStatusresolved => closed
2017-10-16 23:40Vincent SandersNote Added: 0001670