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

WordPress Trac noreply at wordpress.org
Fri Jan 17 20:15:26 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 nacin):

 Replying to [comment:6 mdgl]:
 > Normal convention is that "www." or more recently no prefix indicates
 HTTP whereas "ftp." suggests FTP.

 But subdomains also exist, and "ftp" is certainly a valid subdomain. Could
 represent something other than "File Transfer Protocol."

 I'm fine with admitting my assumptions are wrong here, but it seems to me
 that there are three possibilities...
  * ftp.example.com is a legitimate website
  * ftp.example.com is an FTP server with an HTTP viewer
  * ftp.example.com is an FTP server without an HTTP viewer

 Now, I have no idea how common it is for an FTP server to serve up HTTP
 traffic, but it sounds ''to me'' more common than to not listen over HTTP
 at all. I did some cursory searches and couldn't find an FTP server that
 didn't serve up an Apache directory listing.

 The status quo seems to cover the current state of things quite nicely. I
 mean, let's face it, public FTP doesn't exactly see mainstream usage these
 days. It's clunky and annoying to use. (One way to make it nicer to use is
 to allow people to at least browse it via HTTP — but I digress.) Maybe we
 could just not link them at all. I don't know. To be honest, I don't care
 much either way, and that's in part because going back eight years, no one
 else has reported this, either.

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


More information about the wp-trac mailing list