Commit Graph

195 Commits (04afcb16e88151746149b0788b3fb7200e91aba5)

Author SHA1 Message Date
fadrian06 2c47c5ec0e simplify Request@getHeader and @header docblocks
3 weeks ago
fadrian06 a1faf4f00b fix: Failed asserting that exception message 'Target directory is not writable' contains 'Invalid target path: contains directory traversal'.
3 weeks ago
KnifeLemon 02fe881d27 fix wildcard routes being skipped by fast path method lookup closes #693
3 months ago
n0nag0n 924f231baa security fixes
3 months ago
fadrian06 b55540068e fix almost long lines phpcs warnings
4 months ago
fadrian06 29595ef9e1 composer exec phpcbf -- --standard=PSR2
4 months ago
fadrian06 17b300680d apply lsp-intelephense format to flight folder
4 months ago
n0nag0n dd39d4adad fixed spacing
6 months ago
Arshid e644461129 Add return type
7 months ago
n0nag0n 888ff46d26 Fixed route and controller commands to accept old configs
7 months ago
riku 40f176fa3a
Fixed an issue where `Flight::request()->base` would display only a yen symbol in Windows environments without a parent directory.
8 months ago
KnifeLemon 09cb95c6e8 revert: Re-add string type hint to Response::write() parameter
9 months ago
n0nag0n b174bdbc6f more changes with upload. Security enhancements. Also got rid of php-watcher
9 months ago
KnifeLemon 049d445c58 fix: Support file uploads for non-POST HTTP methods (PATCH, PUT, DELETE)
9 months ago
n0nag0n a8b61f2561 Merge branch 'master' of https://github.com/KnifeLemon/core
9 months ago
n0nag0n 671fea075c adjustments for security, 100% coverage and phpcs
9 months ago
KnifeLemon 5ccc8fba98 Merge branch 'master' of https://github.com/KnifeLemon/core
9 months ago
KnifeLemon dc56ca2c4a fix: allow non-string types in Response::write() to prevent TypeError
9 months ago
KnifeLemon 82daf71d0a
Apply suggestions from code review
9 months ago
KnifeLemon 9ab2695d48 fix: add null coalescing for undefined superglobals
9 months ago
KnifeLemon 42ad8ae23f refactor: simplify upload_max_filesize unit conversion with fallthrough switch
9 months ago
KnifeLemon 144327da78 Revert "fix: add null coalescing for undefined superglobals"
9 months ago
KnifeLemon a1e1c5010a Merge branch 'master' of https://github.com/KnifeLemon/core
9 months ago
KnifeLemon 66a91e042c Revert to previous code
9 months ago
KnifeLemon 2c980eb7ed Revert to previous code
9 months ago
KnifeLemon bbf5204da6 fix: initialize tmp_name as empty string instead of null
9 months ago
KnifeLemon 41dc0e3678
Apply suggestions from code review
9 months ago
KnifeLemon 847a0d51f0 fix: add null coalescing for undefined superglobals
9 months ago
KnifeLemon 68b9306d30
Apply suggestions from code review
9 months ago
KnifeLemon 106955a82e add multipart parsing for PUT/PATCH/DELETE methods and comprehensive tests
9 months ago
KnifeLemon ca46fd041d fix file upload handling to preserve array format for single files
9 months ago
KnifeLemon f0bd5dda81 fixed multiple file upload errors
9 months ago
n0nag0n c9da0675d9 added accept header negotiations, OPTIONS method Allow header and, better method handling.
9 months ago
n0nag0n 4d9f0f42bd Added response test and did some sanitizing
10 months ago
n0nag0n 053227b3b0 adjusted phpstan linting to be friendlier and changed download() to also specify file name
10 months ago
n0nag0n f0dc1b1adf
Merge pull request #658 from flightphp/router-performance
11 months ago
n0nag0n a85790a20c
Update flight/net/Request.php
11 months ago
n0nag0n 8ecb93f2df router performance enhancements
11 months ago
n0nag0n c8f39b7a11 improvements with the request class
12 months ago
n0nag0n 9215b905c8 feat(request): Add servername property to Request class
1 year ago
fadrian06 15ff651e77 support for duplicated slashes in nested groups
1 year ago
fadrian06 59c9c0330f improve ::registerContainerHandler docblock
1 year ago
fadrian06 5068995d17 merge master
1 year ago
Austin Collier 27718cfea7 added ability to throw a method not found instead of 404
2 years ago
n0nag0n f8811e1d8b allowed for middlewares to be created with container
2 years ago
n0nag0n deb0d68875 added plain stream() method
2 years ago
n0nag0n 77d313190d added unit test, corrected other response logic
2 years ago
Belle Aerni 3659a76106 Fix content length when using response body callbacks
2 years ago
Austin Collier 9be596f0bf lots of phpcs errors to fix
2 years ago
Austin Collier 7fca8d9a45 added ability to convert the response body
2 years ago