Comments (9)
Same behavior with 2.3.3. Will try 2.4.0 shortly.
from sinja.
Same thing with 2.4.0.
from sinja.
Hi @jgnagy, thank you very much for the issue report. It looks like the Rack::Lint::InputWrapper request object doesn't respond to #size
, so Sinja sees an empty and therefore invalid payload. Let me take a look at Sinja's content?
helper to see if there's a better way to handle these types of inputs.
from sinja.
Ah, I see. Your demo app doesn't use rackup
, instead running app.rb
directly. My actual app uses several modular Sintra applications and uses rack to route the requests to them, so there is our difference.
Thank you for responding so quickly. Let me know if there is anything I can do to help, and I look forward to the fix so I can keep moving on my application.
Thanks!
from sinja.
I think that will do the trick. Add Sinja to your Gemfile (instead of gemspec) and point it at this repo. I'll release a new version of the gem that includes this fix a little later today or tomorrow. Thanks again for the report, and please feel free to reopen this issue if it's still not fixed (or open a new issue if you find anything else wrong).
from sinja.
I hate to be a pain, but I'm still getting the same results. I updated that test repo with the change (pointing directly to your master branch in the Gemfile) and I still get the send end result. Should I open a new issue?
from sinja.
You aren't being a pain at all. I missed something. I figured out a way to test it, now, so hopefully this issue won't reappear in the future. 😄 Thank you for your patience; would you please try again?
from sinja.
Looks like that fixed it in my test version (code pushed to that repo). I'll head back to my actual app and see if I have success there as well. Thanks again for the quick turnaround!
from sinja.
You're quite welcome. Sinja 1.2.4 is now available with the fix (and a number of other fixes and improvements). Thanks again for the report!
from sinja.
Related Issues (19)
- TODO HOT 1
- Primary key updating broken on JRuby
- Custom routes within resource block not working HOT 4
- Issue with Padrino HOT 9
- NoMethodError - undefined method `nullif' HOT 5
- Question about filters HOT 20
- Really slow require of Sinja
- getting Malformed JSON in the request body when request.body is not rewindable HOT 2
- Rewrite error handling as middleware
- Implement Ruby 3 support? HOT 2
- I think you can do this, we will support you
- Add examples and extensions for other DALs and ORMs
- Create Ember demo app
- Document Sequel helpers and extension HOT 1
- Document demo app
- Implement filtering, sorting, and paging
- Allow custom route names HOT 4
- Generate Swagger documentation
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 sinja.