[wp-trac] [WordPress Trac] #22946: Default filter erroneously turns FTP hostnames into HTTP links

WordPress Trac noreply at wordpress.org
Fri Jan 17 20:49:22 UTC 2014


#22946: Default filter erroneously turns FTP hostnames into HTTP links
---------------------------+------------------------------
 Reporter:  DavidAnderson  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Formatting     |     Version:  2.0.4
 Severity:  normal         |  Resolution:
 Keywords:  close          |
---------------------------+------------------------------

Comment (by DavidAnderson):

 My view is that the order of preference should be:
 1) Do nothing
 2) Link ftp. hostnames via ftp://
 3) Link ftp. hostnames via http://

 i.e. I think the present situation is the worst of the 3 options.

 I don't think it's relevant that most hostnames will give you *something*
 back if you try to access the same host via http. I think that just
 indicates that IP addresses are a limited comodity and aren't being
 wasted. The choice of "ftp." in the hostname surely indicates *something*
 - and if it indicates anything, then it's indicating File Transfer
 Protocol.

 To gather some data as to how other programs handle this, I typed in the
 name of my FTP server with no protocol (i.e. like ftp.example.com) into
 each of Chrome, Firefox and Opera. All three decided to use the FTP
 protocol (i.e. auto-converted to ftp://ftp.example.com).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22946#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list