File tree Expand file tree Collapse file tree 4 files changed +5
-15
lines changed Expand file tree Collapse file tree 4 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 1414 "type" : " library" ,
1515 "license" : " MIT" ,
1616 "require" : {
17- "php" : " >=7.0" ,
18- "arcanedev/support" : " ~4.2.0" ,
19- "piwik /referrer-spam-blacklist" : " ~1.0"
17+ "php" : " >=7.0" ,
18+ "arcanedev/support" : " ~4.2.0" ,
19+ "matomo /referrer-spam-blacklist" : " ~1.0"
2020 },
2121 "require-dev" : {
2222 "orchestra/testbench" : " ~3.5.0" ,
Original file line number Diff line number Diff line change 88 | The blacklisted spammers source file.
99 */
1010
11- 'source ' => base_path ('vendor/piwik /referrer-spam-blacklist/spammers.txt ' ),
11+ 'source ' => base_path ('vendor/matomo /referrer-spam-blacklist/spammers.txt ' ),
1212
1313 /* -----------------------------------------------------------------
1414 | Include
Original file line number Diff line number Diff line change @@ -44,14 +44,4 @@ public function it_must_block_spammer_request_with_subdomain()
4444
4545 $ response ->assertStatus (401 );
4646 }
47-
48- /** @test */
49- public function it_must_block_spammer_request_with_subdomain_and_not_utf8 ()
50- {
51- $ response = $ this ->get ('/ ' , [
52- 'HTTP_REFERER ' => 'http://с.новым.годом.рф ' ,
53- ]);
54-
55- $ response ->assertStatus (401 );
56- }
5747}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ protected function getEnvironmentSetUp($app)
5656 // Setup default database to use sqlite :memory:
5757 $ config ->set (
5858 'spam-blocker.source ' ,
59- __DIR__ . '/../vendor/piwik /referrer-spam-blacklist/spammers.txt '
59+ __DIR__ . '/../vendor/matomo /referrer-spam-blacklist/spammers.txt '
6060 );
6161
6262 $ this ->registerRoutes ($ app );
You can’t perform that action at this time.
0 commit comments