core icon indicating copy to clipboard operation
core copied to clipboard

An extensible micro-framework for PHP

Results 70 core issues
Sort by recently updated
recently updated
newest added

Hello, is there a way to disable autoloading inside Flight and Use composer for autoloading instead? I need Flight to go through composers autoloader to be able to use it...

Question

SEO problem due to duplicate response from trailing slash and non trailing slashed version of the url .. eg: the route Flight::route('/team',function(){ include 'team.php' ; }); now both www.debmego.in/team and...

Enhancement

It would be really helpful to be able to add filters on specific routes, like most other routers, and not just globally on the "route"-method. Something like this: ``` php...

Enhancement

**To make it work correctly you will need to login and enable service for this repo on https://travis-ci.org and https://scrutinizer-ci.com (with github account)** Added some tranding wrappers for packages like...

Route /test/\* will not match /test/test/test/test Temporary Solution - the base route needs to be passed with to matchUrl in route call if the base route is not a ".".

Bug

When you use the flight script as part of the URL there is currently no way to let flight automatically adjust the routing logic. (Setting the base_url had no effect)...

Enhancement

Hi, i'm trying to make it work on nginx, and just want to understand what im doing wrong So, here is my nginx cfg where i put try_files from your...

As there seems to be a decent amount of interest among Flight users (myself included) in implementing middleware / route filtering (#276, #350), I decided to write some experimental code...

This URl is not picked up by the below Flight::route, it returns 404 route not found: `http://localhost/api/intune/hey?error=access_denied&error_description=AADSTS65004%3a+User+declined+to+consent+to+access+the+app.%0d%0aTrace+ID%3a+747c0cc1-ccbd-4e53-8e2f-48812eb24100%0d%0aCorrelation+ID%3a+362e3cb3-20ef-400b-904e-9983bd989184%0d%0aTimestamp%3a+2022-09-08+09%3a58%3a12Z&error_uri=https%3a%2f%2flogin.microsoftonline.com%2ferror%3fcode%3d65004&admin_consent=True&state=x2EUE0fcSj#` This URL **IS** picked up by the below Flight::Route: `http://localhost/api/intune/hey?error=access_denied&error_uri=https%3a%2f%2flogin.microsoftonline.com%2ferror%3fcode%3d65004&admin_consent=True&state=x2EUE0fcSj#` It looks like...

If you didn't specify a default cache behavior, then the browser could boss around your routes and create a lot of confusion. This should fix that so that you have...