diff --git a/app/Http/Controllers/VideoController.php b/app/Http/Controllers/VideoController.php index d15ecdb..2a3abfb 100644 --- a/app/Http/Controllers/VideoController.php +++ b/app/Http/Controllers/VideoController.php @@ -25,6 +25,8 @@ class VideoController extends Controller $videos = Video::filtered(); if($request->has('q')) { $needle = trim($request->input('q')); + if(count(explode(",", $needle)) > 10) + return back()->with('error', 'too many search terms'); $videos = $videos->withAnyTagsFuzzy($needle); return view('index', [ 'number_of_results' => $videos->get()->count(), diff --git a/app/Http/Controllers/tmp/test.png b/app/Http/Controllers/tmp/test.png index 8afccdb..730aa91 100644 Binary files a/app/Http/Controllers/tmp/test.png and b/app/Http/Controllers/tmp/test.png differ diff --git a/app/Http/routes.php b/app/Http/routes.php index 894e7ec..6d73a08 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -149,7 +149,7 @@ Route::group(["middleware" => "theme"], function() { # ]); #}); #Route::get('login', function() { return view('login'); }); - #Route::get('donations', function() { return view('donation'); })->middleware('auth'); + Route::get('donations', function() { return view('donation'); })->middleware('auth'); Route::get('login', 'UserController@loggain'); #Route::get('counter-strike', function() { return view('counter-strike'); }); diff --git a/resources/views/layout1/partials/commentform.blade.php b/resources/views/layout1/partials/commentform.blade.php index 66a9ff3..e58b4b6 100644 --- a/resources/views/layout1/partials/commentform.blade.php +++ b/resources/views/layout1/partials/commentform.blade.php @@ -12,16 +12,6 @@ [reich] [krebs] [spoiler] -
These logs are being checked out occasionally by myself to see whats happening on good old w0bm
+These logs are webserver access logs, there are no user specific logs, we do not associate ips to users, uploads or comments, we have good faith in our users, the access logs are for the sole purpose of debugging if something goes south, identifying unwanted bots etc
There are some 3rd party linkings on this website, be careful with clicking them we don't know whats inside the box blah blah blah, don't be stupid and don't trust the internet.
If you encounter a malicious link shared here on w0bm.com please notify an admin in the IRC or Discord
Yes, we use cookies if you don't like that don't come to our site! (or don't accept them in the first place) You can see the details of the cookies in your browser.
+It should be your remember token, this is used so you don't have to login all the time, the style cookie, it sets your prefered stylesheet in the default w0bm.com layout, w0bm_session, your session cookie, XSRF-TOKEN, the XSRF-TOKEN
@if(auth()->check()) @include('footer') diff --git a/resources/views/layout4/fuetli.blade.php b/resources/views/layout4/fuetli.blade.php index 6d3cf4d..44bb991 100644 --- a/resources/views/layout4/fuetli.blade.php +++ b/resources/views/layout4/fuetli.blade.php @@ -4,7 +4,7 @@ - - \ No newline at end of file + diff --git a/resources/views/layout4/layout.blade.php b/resources/views/layout4/layout.blade.php index b5e0ea9..555cb3a 100644 --- a/resources/views/layout4/layout.blade.php +++ b/resources/views/layout4/layout.blade.php @@ -17,7 +17,7 @@ w0bm.com NO-JS v1 -->