I enjoy open source🍻
- I don't have a lot of contributions yet, but I'd like to get contribut in various projects little by little🧗♀️
- Authors of some npm packages
- Authors of some apps and tools
Bottle-Flash2 is a fork of Bottle-Flash. Flash plugin for bottle.
License: MIT License
I enjoy open source🍻
FlashPlugin.load_flashed() uses a call to request.get_cookie() with positional parameters. The two parameters passed are the key and secret. The second positional parameter to get_cookie is the default value. Therefore if there aren't any flash messages the default message (which is incorrectly the COOKIE_SECRET) is added to the list of messages.
The fix is simple:
Replace m = request.get_cookie(self.key, self.secret)
with m = request.get_cookie(self.key, secret=self.secret)
.
Hi
Tried to use bottle-flash2 with SimpleTemplate without success.
Can you share an example?
I tested and it just outputs the cookie secret.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.