Changes between Version 15 and Version 16 of WikiGoodiesPlugin


Ignore:
Timestamp:
Jan 21, 2008, 7:06:48 PM (7 years ago)
Author:
cboos
Comment:

Some more tips about the UNC paths

Legend:

Unmodified
Added
Removed
Modified
  • WikiGoodiesPlugin

    v15 v16  
    1313 * Simplified markup for single words: `*this* /is/ _important_`
    1414   becomes '''this''' ''is'' __important__ [[comment(replace by *this* /is/ _important_)]]
    15  * Replace <name@domain> with "mailto:" links (obfuscated if needed)
    16  * Replace \\... UNC paths with "file:///" links
     15 * Replace <name@domain> with "mailto:" links (obfuscated if needed) (0.11 only - though that's now in Trac core)
     16 * Replace \\... UNC paths with "file:///" links  (0.11 only)
    1717
    1818Each feature can be disabled individually if needed.
    1919
    20 In particular, turning off the UNC paths transformation might be seen as a
    21 [http://kb.mozillazine.org/Links_to_local_pages_don%27t_work security measure].
    22 Here, the "file:" links are user-oriented and can't be embedded in a <img>
    23 or Javascript code, I don't really see what could be the risk, so I think
    24 it's OK to enable this feature.
    25 Firefox users can use the [http://locallink.mozdev.org/ LocalLink] plugin
     20=== More about UNC path support ===
     21
     22Turning off the UNC paths transformation might be seen as a
     23[http://kb.mozillazine.org/Links_to_local_pages_don%27t_work security measure]
     24and if someone can demonstrate that this feature presents
     25a security risk, I'll disable it by default in future releases.
     26But here, the "file:" links are user-oriented and can't possibly be embedded
     27in a <img> tag or Javascript code, so I don't really see what could be the risk,
     28and I think it's OK to enable this feature by default.
     29
     30Firefox doesn't do anything with the `file:` links, but
     31users can use the [http://locallink.mozdev.org/ LocalLink] plugin
    2632([https://addons.mozilla.org/en-US/firefox/addon/281 install]).
    27 Of course, if someone can demonstrate that this feature presents
    28 a security risk, I'll disable it by default in future releases.
     33
     34Alternatively, I use the ''"Open Link in Ext.App."'' contextual menu entry provided
     35by the [http://ietab.mozdev.org/ IETab] plugin
     36([https://addons.mozilla.org/en-US/firefox/addon/1419 install]),
     37and this works great.
     38
     39==== Local Paths ====
     40Using IETab within Firefox even allows you to use links local paths
     41(say, `S:\Public\File.txt`) by using the equivalent UNC path `\\?\S:\Public\File.txt`,
     42which is recognized as a link by the plugin and will be opened correctly by IETab
     43''"Open Link in Ext.App."''.
     44Note that S:\Public\File.txt itself isn't recognized as a link (and probably
     45will never be, as that will conflict with one letter InterTrac prefixes) and
     46that the `file:///?/` file link produced by the plugin are ''not''
     47understood by IE7 or IETab plugin ''"Open Link in IE Tab"'' (I haven't tested
     48the !LocalLink plugin).
    2949
    3050