Comments (9)
Has this been fixed?
I don't see this problem in Safari on Mac OSX. Should mention that chrome does give access control origin error ala http://stackoverflow.com/questions/5224017/origin-null-is-not-allowed-by-access-control-allow-origin-in-chrome-why
from wet-boew.
I didn't fix it yet. I'm working on it.
from wet-boew.
Hmm wonder why I don't see this problem :P Thanks for getting back :)
from wet-boew.
Not sure but I think both Firefox and WebKit browsers have an option to disable the cross-domain policy on local files. I'll try to not have to fall back to that but at least we have the option.
from wet-boew.
It seems it would take so much hassle to fix this only for local use.
The good news is that there is for Firefox (and maybe for Chrome or could be ported to Chrome maybe) a plugin to add CORS headers to each request. Obviously this causes some security risks but could probably used to disable cross-domain policies for local files only.
from wet-boew.
Firefox plugin: https://github.com/jo5ef/Force-CORS
from wet-boew.
@sylus what do you think?
from wet-boew.
Yeah there is no real solution for this. Your right that you can just pass in arguments or use plugins at least to make this work as expected. I guess if it works for production and can be well documented I can't see what else can be done?
I do worry about the users that will try this out locally and wonder why it is not working though. Hopefully documentation would address this.
from wet-boew.
Actually, for firefox, you don't need a plugin (plugins wont work). You can only go to the url about:config
search for security.fileuri.strict_origin_policy
and set it to true
from wet-boew.
Related Issues (20)
- How to perform remote validation with WET? HOT 2
- Pie chart - HOT 4
- Question re: <section data-ajax-replace="ajax/data-ajax-extra-en.html"></section>
- [BUG] Tables - removing sorting from a column generates aria-controls="undefined" HOT 3
- Datatable CSS and Column Sorting HOT 7
- Share widget: HOT 6
- [BOGUE] Charts - Problème avec les apostrophes HOT 3
- [OTHER] Twitter Widget - Fails WCAG 2.1 HOT 1
- [BUG] Equalize - Update doesn't work anymore HOT 6
- [OTHER] Datatables.net child row HOT 6
- [BUG] Datatables.net - header tooltip when sorting is disabled HOT 6
- [BUG] Datatable.net - Sort issue with null
- Tables: display bug in "show entries" when set to 1 000 HOT 5
- Tabbed Interface - Carousel: Page move up and down when items are different heights
- Widget de nouvelles - probèmes avec nouveau /GCWeb/wet-boew/js/wet-boew.min.js HOT 5
- [OTHER] Release files missing from latest release (4.0.67) HOT 1
- Session Timeout: HOT 1
- Tables: Currently selected pagination not indicated to screen readers HOT 2
- Web Experience Toolkit (WET) theme: HOT 1
- Bootstrap 5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wet-boew.