[Seaside] Re: Appex: Cross-Origin Resource Sharing policy

Maarten Mostert maarten.mostert at wanadoo.fr
Thu Mar 5 16:51:14 UTC 2015


Thanks,
In affect the following this without problem.
http://enable-cors.org/server_apache.html <http://enable-cors.org/server_apache.html>

Regards,

@+Maarten,

> Le 3 mars 2015 à 18:17, Paul DeBruicker <pdebruic at gmail.com> a écrit :
> 
> See https://en.wikipedia.org/wiki/Cross-origin_resource_sharing.
> 
> 
> You need to add a response header to your application, either in the image
> or if you're using apache or nginx at the webserver level to explicitly
> allow the fonts you want to load to be loaded.  
> 
> 
> Fonts and Javascript are restricted because they can do Nasty Things.
> 
> 
> so in your image:
> 
> html requestContext response headerAt: 'Access-Control-Allow-Origin' put:
> 'http://example.com'
> 
> 
> 
> 
> 
> Maarten Mostert-2 wrote
>> Hi,
>> 
>> I use the fontello font (MIT license) with Appex that I declare in the
>> following way within my CSS headers.
>> 
>> headBootStrapCCS
>> 	
>> <head: 199>
>> 		^<    
>> 
>> 		!-- Font Awesome CSS -->
>> 		 &lt;link
>> href=&quot;http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css
>> &lt;http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css&gt;"
>> rel="stylesheet">
>> 		
> 
>> 		
>> <link href=« http://stakepoint.com/fonts/fontello/css/fontello.css
>> <http://stakepoint.com/fonts/fontello/css/fontello.css>
>> " rel="stylesheet">
>> 
>> 
>> For the Fontello font (MIT license) I cannot find a CDN provider.
>> 
>> However this gives the following CROS warnings within Chrome’s developer
>> window.
>> 
>> https://www.dropbox.com/s/bfsn6176qvfj9wl/2015-03-03_11-38-08.png?dl=0
>> &lt;https://www.dropbox.com/s/bfsn6176qvfj9wl/2015-03-03_11-38-08.png?dl=0&gt;
>> 
>> Any hint is welcome.
>> 
>> Regards,
>> 
>> @+Maarten
>> _______________________________________________
>> seaside mailing list
> 
>> seaside at .squeakfoundation
> 
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> 
> 
> 
> 
> --
> View this message in context: http://forum.world.st/Appex-Cross-Origin-Resource-Sharing-policy-tp4809124p4809268.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20150305/dbdf92eb/attachment-0001.htm


More information about the seaside mailing list