jasonmortonnz / jinput Goto Github PK
View Code? Open in Web Editor NEWLaravel 4 - XSS filtering user input grabber
Laravel 4 - XSS filtering user input grabber
Remove the ink from the whole system (tubes, printheads,...)
Remove the ink from the whole system (tubes, printheads,...)
Why?
Hi,
Do you have a license for your code?
Thanks!
Line 425 give this Error:
Replace deprecated preg_replace /e with preg_replace_callback
Hi Jason
I recently had massive fiasco on my hands when a live site was completely trashed because of an update to Ardent. After two late nights and lots of coffee I vowed never to use "dev-master" in my compser file again, and always code against a specific version of a project
I could use a specific commit id (in this case 1a61b42), but we'd loose out on the advantage that Semantic Versioning (http://semver.org/) give us. The basics are
Given a version number MAJOR.MINOR.PATCH, increment the:
MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.
I'd like to use your code and would appreciate if you'd consider tagging it.
Thank you.
The provider should be JasonNZ\Jinput\JinputServiceProvider
Found your Jinput-Class just when I needed something like CI's XSS-Functions in a new Laravel 4 Project a couple of minutes ago. Thanks for that. ;-)
In your composer.json you are specifying a requirement of PHP >= 5.3.0 - but you are using the "new" (PHP >= 5.4) short syntax for arrays (Jinput.php, line 37).
Better to change the array declaration than to bump up the requirements, I guess...
Jinput::get('images') doesn't behave like Input::get('images') when you have multiple fields that use the same name and a key, like so: images[0], images[1], images[2].
In fact, it triggers an exception due to the fact that it uses trim on the value, which in this situation is an array, not a string.
With: "jasonnz/jinput": "dev-master"
Updating dependencies (including require-dev)
Installing jasonnz/jinput (dev-master 5bf9269)
Cloning 5bf9269
[RuntimeException]
Failed to clone http://github.com/jasonmortonnz/jinput.git via git, https and http protocols, aborting.
git://github.com/jasonmortonnz/jinput.git
fatal: remote error:
Repository not found.
https://github.com/jasonmortonnz/jinput.git
fatal: Authentication failed
http://github.com/jasonmortonnz/jinput.git
fatal: Authentication failed
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.