https://bugzilla.wikimedia.org/show_bug.cgi?id=28627

Brion Vibber <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Brion Vibber <[email protected]> 2011-04-25 21:04:34 UTC 
---
Committed fix to trunk in r86897. Includes some test cases in the GlobalTest
chunk of the phpunit tests.

Change checks if 'host' is present and slips in just '.' if not. (Or should we
use localhost? Technically not the same... sorta. :)

This handles file:///path/foo, file:///c:/path/foo, and file://server/path/foo
reasonably well.

Multi-slash cases (file://///share/foo) aren't normalized to match the expected
more canonical forms (file://share/foo) but they'll go through without error.
The lack of consistency between browsers and OSs, and many browsers keeping
file: urls disabled for HTTP pages, means we probably can expect folks to be
using the IE/Windows style for most actual cases of intranet use.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to