Skip to content

Commit b84ca6e

Browse files
committed
Release 4.0.0-rc.3
1 parent 6b842e4 commit b84ca6e

File tree

225 files changed

+779
-353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

225 files changed

+779
-353
lines changed

app/Config/App.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,14 @@ class App extends BaseConfig
237237
| recommended CSRF protection be enabled.
238238
|
239239
| CSRFTokenName = The token name
240+
| CSRFHeaderName = The header name
240241
| CSRFCookieName = The cookie name
241242
| CSRFExpire = The number in seconds the token should expire.
242243
| CSRFRegenerate = Regenerate token on every submission
243244
| CSRFRedirect = Redirect to previous page with error on failure
244245
*/
245246
public $CSRFTokenName = 'csrf_test_name';
247+
public $CSRFHeaderName = 'X-CSRF-TOKEN';
246248
public $CSRFCookieName = 'csrf_cookie_name';
247249
public $CSRFExpire = 7200;
248250
public $CSRFRegenerate = true;

license.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The MIT License (MIT)
22

33
Copyright (c) 2014-2019 British Columbia Institute of Technology
4+
Copyright (c) 2019 CodeIgniter Foundation
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

system/API/ResponseTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* This content is released under the MIT License (MIT)
99
*
1010
* Copyright (c) 2014-2019 British Columbia Institute of Technology
11+
* Copyright (c) 2019 CodeIgniter Foundation
1112
*
1213
* Permission is hereby granted, free of charge, to any person obtaining a copy
1314
* of this software and associated documentation files (the "Software"), to deal
@@ -29,7 +30,7 @@
2930
*
3031
* @package CodeIgniter
3132
* @author CodeIgniter Dev Team
32-
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
33+
* @copyright 2019 CodeIgniter Foundation
3334
* @license https://opensource.org/licenses/MIT MIT License
3435
* @link https://codeigniter.com
3536
* @since Version 4.0.0

system/Autoloader/Autoloader.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* This content is released under the MIT License (MIT)
99
*
1010
* Copyright (c) 2014-2019 British Columbia Institute of Technology
11+
* Copyright (c) 2019 CodeIgniter Foundation
1112
*
1213
* Permission is hereby granted, free of charge, to any person obtaining a copy
1314
* of this software and associated documentation files (the "Software"), to deal
@@ -29,7 +30,7 @@
2930
*
3031
* @package CodeIgniter
3132
* @author CodeIgniter Dev Team
32-
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
33+
* @copyright 2019 CodeIgniter Foundation
3334
* @license https://opensource.org/licenses/MIT MIT License
3435
* @link https://codeigniter.com
3536
* @since Version 4.0.0

system/Autoloader/FileLocator.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* This content is released under the MIT License (MIT)
99
*
1010
* Copyright (c) 2014-2019 British Columbia Institute of Technology
11+
* Copyright (c) 2019 CodeIgniter Foundation
1112
*
1213
* Permission is hereby granted, free of charge, to any person obtaining a copy
1314
* of this software and associated documentation files (the "Software"), to deal
@@ -29,7 +30,7 @@
2930
*
3031
* @package CodeIgniter
3132
* @author CodeIgniter Dev Team
32-
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
33+
* @copyright 2019 CodeIgniter Foundation
3334
* @license https://opensource.org/licenses/MIT MIT License
3435
* @link https://codeigniter.com
3536
* @since Version 4.0.0
@@ -292,7 +293,7 @@ protected function getNamespaces()
292293
{
293294
$namespaces[] = [
294295
'prefix' => $prefix,
295-
'path' => rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR,
296+
'path' => rtrim($path, '\\/') . DIRECTORY_SEPARATOR,
296297
];
297298
}
298299
}

system/CLI/BaseCommand.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* This content is released under the MIT License (MIT)
88
*
99
* Copyright (c) 2014-2019 British Columbia Institute of Technology
10+
* Copyright (c) 2019 CodeIgniter Foundation
1011
*
1112
* Permission is hereby granted, free of charge, to any person obtaining a copy
1213
* of this software and associated documentation files (the "Software"), to deal
@@ -28,7 +29,7 @@
2829
*
2930
* @package CodeIgniter
3031
* @author CodeIgniter Dev Team
31-
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
32+
* @copyright 2019 CodeIgniter Foundation
3233
* @license https://opensource.org/licenses/MIT MIT License
3334
* @link https://codeigniter.com
3435
* @since Version 4.0.0
@@ -195,7 +196,7 @@ public function __get(string $key)
195196
*
196197
* @param string $key
197198
*
198-
* @return bool
199+
* @return boolean
199200
*/
200201
public function __isset(string $key): bool
201202
{

system/CLI/CLI.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* This content is released under the MIT License (MIT)
99
*
1010
* Copyright (c) 2014-2019 British Columbia Institute of Technology
11+
* Copyright (c) 2019 CodeIgniter Foundation
1112
*
1213
* Permission is hereby granted, free of charge, to any person obtaining a copy
1314
* of this software and associated documentation files (the "Software"), to deal
@@ -29,7 +30,7 @@
2930
*
3031
* @package CodeIgniter
3132
* @author CodeIgniter Dev Team
32-
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
33+
* @copyright 2019 CodeIgniter Foundation
3334
* @license https://opensource.org/licenses/MIT MIT License
3435
* @link https://codeigniter.com
3536
* @since Version 4.0.0

system/CLI/CommandRunner.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* This content is released under the MIT License (MIT)
1010
*
1111
* Copyright (c) 2014-2019 British Columbia Institute of Technology
12+
* Copyright (c) 2019 CodeIgniter Foundation
1213
*
1314
* Permission is hereby granted, free of charge, to any person obtaining a copy
1415
* of this software and associated documentation files (the "Software"), to deal
@@ -30,7 +31,7 @@
3031
*
3132
* @package CodeIgniter
3233
* @author CodeIgniter Dev Team
33-
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
34+
* @copyright 2019 CodeIgniter Foundation
3435
* @license https://opensource.org/licenses/MIT MIT License
3536
* @link https://codeigniter.com
3637
* @since Version 4.0.0

system/CLI/Console.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* This content is released under the MIT License (MIT)
99
*
1010
* Copyright (c) 2014-2019 British Columbia Institute of Technology
11+
* Copyright (c) 2019 CodeIgniter Foundation
1112
*
1213
* Permission is hereby granted, free of charge, to any person obtaining a copy
1314
* of this software and associated documentation files (the "Software"), to deal
@@ -29,7 +30,7 @@
2930
*
3031
* @package CodeIgniter
3132
* @author CodeIgniter Dev Team
32-
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
33+
* @copyright 2019 CodeIgniter Foundation
3334
* @license https://opensource.org/licenses/MIT MIT License
3435
* @link https://codeigniter.com
3536
* @since Version 4.0.0

system/Cache/CacheFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* This content is released under the MIT License (MIT)
99
*
1010
* Copyright (c) 2014-2019 British Columbia Institute of Technology
11+
* Copyright (c) 2019 CodeIgniter Foundation
1112
*
1213
* Permission is hereby granted, free of charge, to any person obtaining a copy
1314
* of this software and associated documentation files (the "Software"), to deal
@@ -29,7 +30,7 @@
2930
*
3031
* @package CodeIgniter
3132
* @author CodeIgniter Dev Team
32-
* @copyright 2014-2019 British Columbia Institute of Technology (https://bcit.ca/)
33+
* @copyright 2019 CodeIgniter Foundation
3334
* @license https://opensource.org/licenses/MIT MIT License
3435
* @link https://codeigniter.com
3536
* @since Version 4.0.0

0 commit comments

Comments
 (0)