Skip to content

Commit

Permalink
Update composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsty-gasston authored Nov 6, 2017
1 parent af0a0b9 commit 0cd3450
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "rapidwebltd/no-post-data-laravel-middleware",
"type": "library",
"description": "No Post Data Laravel Middleware",
"keywords": ["post", "Laravel", "middleware", "post data", "no post data middleware"],
"description": "Under certain conditions, when posting data from a form, the web server may lose the post data. This commonly happens if a user is uploading a large file beyond the size limits set in the web server's configuration. Laravel does not handle this situation and may end up throwing a somewhat confusing `TokenMismatchException in VerifyCsrfToken` due to CSRF protection. The 'No Post Data Laravel Middleware' handles situations in which a post request has been submitted and contains no post data - a situation which should not occur under normal usage. By default, the middleware will redirect back to the previous page with an error message flashed to the session. This can then be output on your view as you would normally handle validation errors. If needed, you can also modify this default behaviour and allow any code to run when the 'post request with no post data' situation is encountered.", "keywords": ["post", "Laravel", "middleware", "post data", "no post data middleware"],
"homepage": "https://github.com/rapidwebltd/no-post-data-laravel-middleware",
"license": "LGPL3",
"require": {
Expand All @@ -14,4 +13,4 @@
"RapidWeb\\NoPostDataLaravelMiddleware\\": "src/"
}
}
}
}

0 comments on commit 0cd3450

Please sign in to comment.