Comments (5)
Not sure how this would cause a problem. Unless I'm missing something, I'm using urls of that type without difficulty.
from abbot.
Currently, the code to load the Sproutcore index.html file over-rides any attempt to proxy URLs with just a single slash in them. This is a regression.
The use of a complex regex makes this non-obvious on first reading.
from abbot.
enquora, you're saying you want to do proxy '/', :to => 'http://example.com'
? Are you sure that behavior was ever explicitly supported? Or did it just work by accident?
from abbot.
Attempting to proxy /something?x=yada returns the SC index.html page. I don't see how we can easily set up a test case for this since it requires an active server.
Couchdb users, for instance, will find that they cannot load individual documents using a REST api.
Please look at the code in rack.builder.rb -> normalize_url() and rack.service.rb
This behaviour must work if a functioning proxy is to be provided, irrespective of whether it previously worked or not. And it did.
This actually highlights the critical need for integration tests, which I'm considering.
from abbot.
I have not heard any other complaints or concerns about this and I'm still not sure exactly what the issue is. If this is still an issue, please give me your specific Buildfile proxy setting and an example of the url you would like to call. This way I can easily test and reproduce the issue.
from abbot.
Related Issues (20)
- Deprecate require HOT 2
- Unable to proxy sc-server depending on mode.
- Ctrl+c doesn't always quit sc-server on OS X. HOT 5
- empty require statements clobber config:all dependencies
- Yui Compressor 2.4.8 is broken on Windows
- Bundler can't install executables
- HAML exception running sc-build
- Proxy does not support HEAD request
- Using slices (without parameters $width and $height) in a project theme can produce wrong png files HOT 1
- Debug builds still reference .handlebars, but files are renamed .js
- Spriting does not work on Windows HOT 2
- Chance fails on Windows with deep paths HOT 2
- Instructions for using abbot from source don't work HOT 1
- sc-server does not stop with ctrl-c and eats up cpu HOT 6
- Let's have a new line in the build-number command
- sc-build --target option does not include images HOT 1
- sc_require statements remains in the build
- Support for https in sc-server
- Relax the json_pure dependency's version constraint to prevent Bundler conflicts in user applications HOT 2
- Location headers on proxy POSTs badly mangle response.
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 abbot.