Hi BJ

>
>> I am getting security exceptions when using node.js with firefox or
> chrome on ubuntu 12.04:
> with a tiddly containing
>
> <img src
> ="file:///media/3497f82e-3b95-41de-90af-df905eceeab4/data/radice/firefoxextension/Tw516/plugins/
> jermolene.github.com/images/map1.png"/>
>
> I get
>
> Security Error: Content at http://127.0.0.1:8086/ may not load or link to
> file:///media/3497f82e-3b95-41de-90af-df905eceeab4/data/radice/firefoxextension/Tw516/plugins/
> jermolene.github.com/images/map1.png.
>

Gosh, I guess Firefox has turned the dial up on security considerably. It's
consistent: I've noticed that it's the only common browser that disallows
an HTTP post from an HTML page loaded via a file URI to an HTTP URI.

It would certainly increase flexibility if we added a plain static web
server to TW5 under Node.js. Two things are needed: the ability to suppress
a tiddler from being included when building the TW file, and the ability to
GET individual tiddlers in their raw form.

Best wishes

Jeremy.


>
> BJ
>
>
>
>>
>> On Fri, Sep 26, 2014 at 9:39 PM, PMario <[email protected]> wrote:
>>
>>> On Friday, September 26, 2014 10:27:10 PM UTC+2, PMario wrote:
>>>>
>>>> I'm not sure, if it works with the server too. ... So you'll need to
>>>> test it. All your tiddlers that are tagged "external-image" will get a
>>>> field _canonical_uri  rendered with the 
>>>> "$:/core/templates/canonical-uri-external-image"
>>>> template.
>>>>
>>>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/te
>>>> mplates/canonical-uri-external-image.tid
>>>>
>>>
>>> I did a test. ... The server actually included the images. so it won't
>>> work that way.
>>>
>>> BJs concern is right. If you want to run TW server and get static image
>>> files, you'll need to run a real server in front of TW, which lets you load
>>> the static content.
>>> -m
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to