|Summary:||A warning is logged to console when typing a bare "/" in Safari address bar|
|Product:||WebKit||Reporter:||Alexey Proskuryakov <ap>|
|Component:||WebKit Misc.||Assignee:||Alexey Proskuryakov <ap>|
|Version:||528+ (Nightly build)|
Description Alexey Proskuryakov 2012-01-12 17:35:03 PST
12.01.12 17:28:55,414 Safari: CFURLCreateAbsoluteURLWithBytes was passed these invalid relativeURLBytes (and no baseURL): '/' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateFromFileSystemRepresentationRelativeToBase should be used instead. We should prevent this.
Comment 1 Alexey Proskuryakov 2012-01-12 17:37:46 PST
Created attachment 122350 [details] proposed fix This method is half-obsolete, but I'm not sure which other bottlenecks to patch. Maybe there aren't any yet.
Comment 2 Alexey Proskuryakov 2012-01-12 17:40:01 PST
This has a strange effect on where Safari tries to go when "/" is entered - I'm going to look into that separately.
Comment 3 Alexey Proskuryakov 2012-01-13 14:53:35 PST
> This has a strange effect on where Safari tries to go when "/" is entered - I'm going to look into that separately. That turned out to be in Safari code.
Comment 4 Alexey Proskuryakov 2012-01-16 10:50:52 PST
Comment 5 Alexey Proskuryakov 2012-01-16 16:02:44 PST
Created attachment 122690 [details] follow-up fix