<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><ul><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">FTP</anchor></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">rsync</anchor></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SSH</anchor><ul><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SCP</anchor></li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Git</anchor> (over <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SSH</anchor>)</li><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="6" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[6]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">rsync</anchor> over <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SSH</anchor></li></ul></li></ul><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="81" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[81]</anchor-end> <cite>MIME, SGML, UDIs, HTML and W3</cite>
(<time>2003-08-04T15:50:20.000Z</time>, <time>2024-09-29T13:47:54.380Z</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://lists.w3.org/Archives/Public/www-talk/1992MayJun/0038.html">https://lists.w3.org/Archives/Public/www-talk/1992MayJun/0038.html</anchor-external></figcaption><blockquote><p>Well, what DO they use? They use ange-ftp addresses	</p><p>for FTP (like info.cern.ch:/pub/www/doc/*.ps),</p></blockquote></figure><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="82" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[82]</anchor-end> 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ange-ftp</anchor> というのは <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Emacs</anchor> で動作する <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">FTP</anchor> ソフトウェアがあるらしい。それのこと?
このよくある書式の発祥はそのソフトだったのだろうか?</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="7" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[7]</anchor-end> <cite>null</cite>, <time>1999-05-02T13:43:17.000Z</time>, <time>2024-11-28T05:54:42.712Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://dept-info.labri.fr/~strandh/Teaching/PFS/Common/Code-examples/emacs-20.4/lisp/browse-url.el">https://dept-info.labri.fr/~strandh/Teaching/PFS/Common/Code-examples/emacs-20.4/lisp/browse-url.el</anchor-external></p><blockquote><pre>  &quot;An alist of (REGEXP . STRING) pairs used by `browse-url-of-file'.
Any substring of a filename matching one of the REGEXPs is replaced by
the corresponding STRING using `replace-match', not treating STRING
literally.  All pairs are applied in the order given.  The default
value converts ange-ftp/EFS-style paths into ftp URLs and prepends
`file:' to any path beginning with `/'.

For example, adding to the default a specific translation of an ange-ftp
address to an HTTP URL:</pre></blockquote><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="231" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[231]</anchor-end> 
<cite xml:lang="en-US">Protect your Software from the Zero Day Wget Vulnerability</cite>, <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">drewt</anchor>, <time>2024-11-21T16:19:17.000Z</time>, <time>2024-11-22T03:39:12.975Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://jfrog.com/blog/cve-2024-10524-wget-zero-day-vulnerability/">https://jfrog.com/blog/cve-2024-10524-wget-zero-day-vulnerability/</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="232" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[232]</anchor-end> <anchor-internal xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="231" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">&gt;&gt;231</anchor-internal> <code>wget</code> の入力で <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">URL</anchor> か <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">URL</anchor> の <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">scheme</anchor> + <code>:</code>
の省略か伝統的な <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">FTP</anchor> の表記法が指定できたため、
<code>:</code> を含む <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">userinfo</anchor> が指定されたとき <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">FTP</anchor> の表記法と誤認させられる<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">脆弱性</anchor>があると判断された事案。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="13" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[13]</anchor-end> <cite>URL Schemes Supported in Lynx</cite>, <time>2023-10-24T19:26:50.000Z</time>, <time>2025-11-02T05:08:26.505Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://lynx.invisible-island.net/lynx_help/lynx_url_support.html#ncftp_url">https://lynx.invisible-island.net/lynx_help/lynx_url_support.html#ncftp_url</anchor-external></p><blockquote><p><b>Lynx</b> recognizes the NcFTP-style ftp URL, e.g.,</p><blockquote><p><i>ftpHost</i>:<i>fileSpecification</i></p></blockquote></blockquote><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="8" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[8]</anchor-end> <cite>EMACSulation Issue 26</cite>
(<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Eric Marsden</anchor>, <time>2017-07-20T23:54:00.000Z</time>, <time>2024-11-28T05:56:50.442Z</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://linuxgazette.net/issue26/marsden.html">https://linuxgazette.net/issue26/marsden.html</anchor-external></figcaption><blockquote><p>ffap is a powerful package which extends the find-file command (the one which prompts for a file name in the minibuffer, normally bound to C-x C-f). It searches the text around the cursor position for something which might represent a filename -- a file in the current directory, a C #included file, a newsgroup reference, an ange-ftp style reference to a file on a remote machine or an URL -- and prompts you either to open that file, or to send the URL to a browser (via browse-url). Once experiencing this you quickly get sick of typing filenames into the minibuffer, and may find yourself inserting ``hyperlinks<em> in strategic places in your files to save typing. ffap is distributed with both Emacs and XEmacs; I bind it to the F3 key as follows :</em></p></blockquote></figure><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="9" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[9]</anchor-end> <cite>Emacs Online Documentation</cite>
(<time>2015-05-22T10:48:04.000Z</time>, <time>2024-11-28T05:57:42.187Z</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://doc.endlessparentheses.com/Fun/shadow-make-fullname.html">https://doc.endlessparentheses.com/Fun/shadow-make-fullname.html</anchor-external></figcaption><blockquote><p>Make an ange-ftp style fullname out of HOST, USER (optional), and NAME.</p></blockquote></figure><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="10" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[10]</anchor-end> <cite>Re: Integrate Tramp</cite>
(<time>2002-06-20T20:12:08.000Z</time>, <time>2024-11-28T05:58:27.131Z</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://lists.gnu.org/archive/html/emacs-devel/2002-06/msg00513.html">https://lists.gnu.org/archive/html/emacs-devel/2002-06/msg00513.html</anchor-external></figcaption><blockquote><p>My impression is that the main reason you chose the <strong>[</strong>...<strong>]</strong> syntax for</p><p>tramp is to avoid conflicts with ange-ftp; it seems cleaner and more</p><p>user-friendly to just use the same syntax for both, especially since</p><p>ange-ftp's syntax is basically a subset of tramp's, and now you have</p><p>the freedom to integrate them.</p><p>I think most people would agree that the ange-ftp-style syntax is a bit</p><p>nicer anyway (and familiar to more people), especially when most of the</p><p>details are defaulted based on the machine name or whatever.</p></blockquote></figure><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="11" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[11]</anchor-end> <cite>EMail Msg &lt;9207160406.AA28878@pixel.convex.com&gt;</cite>
(<time>1995-08-08T03:06:53.000Z</time>, <time>2024-11-28T06:00:09.466Z</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://ksi.cpsc.ucalgary.ca/archives/WWW-TALK/www-talk-1992.messages/154.html">https://ksi.cpsc.ucalgary.ca/archives/WWW-TALK/www-talk-1992.messages/154.html</anchor-external></figcaption><blockquote><p>Has anybody given any thought to a syntax with implied schemes so that</p><p>the ange-ftp style URLs and internet message ID URNs that are out</p><p>there can be used?&lt;p&gt;</p><p>If we reserved a character to _start_ UDIs, then we could try to infer</p><p>the scheme of strings that don't start with that char. Let's take</p><p>() for URL schemes and <strong>[</strong><strong>]</strong> for URN schemes.</p><p>&lt;XMP&gt;</p><p>For example: host:path == (ANON-FTP)host:path</p><p>path@host == (ANON-FTP)host:path</p><p>&lt;message-id@host&gt; == <strong>[</strong>rfc-822<strong>]</strong>&lt;message-id@host&gt;</p><p>&lt;/XMP&gt;</p><p>Well, I suppose this type of thing is really akin to the W3 local</p><p>UDI scheme: it's application specific.&lt;p&gt;</p></blockquote></figure><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="12" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[12]</anchor-end> 
関連:
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">URL</anchor>,
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">FTP</anchor>,
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Git</anchor></p></body></html>