Mike Cao
							
						 
						
							 
							
							
								
								
							
							
								
							
								d7c3489ba2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #397  from hlidotbe/fix/request-scheme  
							
							 
							
							... 
							
							
 
							
							Fix request scheme 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Hugues Lismonde
							
						 
						
							 
							
							
								
								
							
							
								
							
								b4c9c42b00 
								
									
								
							
								 
							
						 
						
							
							
								
								Add host to request  
							
							 
							
							... 
							
							
 
							
							The requested host can be useful to build an url or route request based
on which host was used. 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Hugues Lismonde
							
						 
						
							 
							
							
								
								
							
							
								
							
								e0dfb7406d 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix request schem  
							
							 
							
							... 
							
							
 
							
							As mentionned in #396 , the request scheme was not as documented,
returning SERVER_PROTOCOL instead.
The `getScheme` function is now used to handle common cases (HTTPS,
FORWATED_PROTO, ...).
`request->secure` is also based on the scheme now as `$_SERVER['HTTPS']`
is unreliable for this purpose. 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Uriy @MerkUriy Efremochkin
							
						 
						
							 
							
							
							
								
							
								ceb1b5bb89 
								
							
								 
							
						 
						
							
							
								
								Added JsonSerializable for util/Collection and added LegacyJsonSerializable for PHP <5.4.0.  
							
							 
							
							... 
							
							
 
							
							Closed  mikecao/flight#394 . 
							
						 
						
							6 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
								
								
							
							
								
							
								c57ee8cb8d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #384  from spytheman/master  
							
							 
							
							... 
							
							
 
							
							Allow easy routing of URLs containing Cyrillic letters. 
							
						 
						
							7 years ago  
						
					 
				
					
						
							
							
								 
								Delyan Angelov
							
						 
						
							 
							
							
							
								
							
								0daa3f81b5 
								
							
								 
							
						 
						
							
							
								
								Allow cyrillic letters in the routes, by matching the result of urldecode over the URL .  
							
							 
							
							
 
							
						 
						
							7 years ago  
						
					 
				
					
						
							
							
								 
								Delyan Angelov
							
						 
						
							 
							
							
							
								
							
								406be00436 
								
							
								 
							
						 
						
							
							
								
								Add a failing test for routing URLs containing Cyrillic letters.  
							
							 
							
							
 
							
						 
						
							7 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								7d5970f761 
								
							
								 
							
						 
						
							
							
								
								Bump version.  
							
							 
							
							
 
							
						 
						
							7 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
								
								
							
							
								
							
								32f7c8dbe4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #363  from alexshadie/master  
							
							 
							
							... 
							
							
 
							
							Fixed exception catching (php < 7) 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Alex Shadie
							
						 
						
							 
							
							
							
								
							
								e25f023d43 
								
							
								 
							
						 
						
							
							
								
								Fixed exception catching (php < 7)  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
								
								
							
							
								
							
								e7feb1cb2d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #360  from alexshadie/master  
							
							 
							
							... 
							
							
 
							
							Some improvements for PHPdoc 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Alex Shadie
							
						 
						
							 
							
							
							
								
							
								d3067e5eae 
								
							
								 
							
						 
						
							
							
								
								Some improvements for PHPdoc  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
								
								
							
							
								
							
								db2c5c77e1 
								
									
								
							
								 
							
						 
						
							
							
								
								Bump version  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
								
								
							
							
								
							
								3380846d7c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #355  from jqs/master  
							
							 
							
							... 
							
							
 
							
							Removed extraneous ->write($url) call on redirect that was causing Sa… 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								jqs
							
						 
						
							 
							
							
							
								
							
								ccf4858573 
								
							
								 
							
						 
						
							
							
								
								Removed extraneous ->write($url) call on redirect that was causing Safari to bugger out qwhen using HTTP2, which it tends to handle more strictly.  
							
							 
							
							... 
							
							
 
							
							Notes:
The line above writes the URL to redirect to for the 303 then that line writes it again.
The result is a multi-line http header which causes safari to freak out when in http2 mode.
https://blog.christopherburg.com/2017/10/18/safari-11-multiline-http-headers-and-nsposixerrordomain100/ 
blog.christopherburg.com
Safari 11, Multiline HTTP Headers, and NSPOSIXErrorDomain:100. at A Geek With Guns
Chronicling the depravities of the State 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
								
								
							
							
								
							
								25f16079c6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #349  from merkuriy/master  
							
							 
							
							... 
							
							
 
							
							Small fix for Doc and Code style 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Uriy Efremochkin
							
						 
						
							 
							
							
								
								
							
							
								
							
								cc72d9a081 
								
									
								
							
								 
							
						 
						
							
							
								
								Code style fix  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Uriy Efremochkin
							
						 
						
							 
							
							
								
								
							
							
								
							
								4841466656 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix for Doc  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								c6485b710e 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #342  from kouts/patch-2  
							
							 
							
							... 
							
							
 
							
							Update Engine.php 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								kouts
							
						 
						
							 
							
							
							
								
							
								98c105d009 
								
							
								 
							
						 
						
							
							
								
								Update Engine.php  
							
							 
							
							... 
							
							
 
							
							Fixed halt method so that it stops execution. 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								b6ded4f288 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #340  from kouts/patch-1  
							
							 
							
							... 
							
							
 
							
							Halt method should clear response before sending. 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								kouts
							
						 
						
							 
							
							
							
								
							
								53f0c1671d 
								
							
								 
							
						 
						
							
							
								
								Update Engine.php  
							
							 
							
							... 
							
							
 
							
							Add ```clear``` to the halt method in order to work as expected with the latest changes 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								e146b8c0dd 
								
							
								 
							
						 
						
							
							
								
								Prevent response from sending more than once.  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								5b4916d4e3 
								
							
								 
							
						 
						
							
							
								
								Fix conflict with external error handlers.  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								7ae2011723 
								
							
								 
							
						 
						
							
							
								
								Sending response should not exit to allow pre-stop filters.  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								b781e63d08 
								
							
								 
							
						 
						
							
							
								
								Fix test.  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								1c8d06cc42 
								
							
								 
							
						 
						
							
							
								
								Response content-length header should use mbstring if available.  
							
							 
							
							
 
							
						 
						
							8 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								0386339331 
								
							
								 
							
						 
						
							
							
								
								Updated test asset.  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								a123a08f10 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #301  from yassineaddi/master  
							
							 
							
							... 
							
							
 
							
							Fix redirect method due to a mistake removing backslashes 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Yassine Addi
							
						 
						
							 
							
							
							
								
							
								a0d749276f 
								
							
								 
							
						 
						
							
							
								
								Fix redirect method due to a mistake removing backslashes  
							
							 
							
							... 
							
							
 
							
							The problem is that if 'flight.base_url' setting is set to 'http://localhost/flight ', then:
$url = 'http:/localhost/flight';
Notice that one backslash has been removed. 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								c3c6f68909 
								
							
								 
							
						 
						
							
							
								
								Removed another case of $route passing. Updated tests.  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								6aea7394c4 
								
							
								 
							
						 
						
							
							
								
								Remove $route from parameter list, only pass when dispatching callback.  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								9c8d492799 
								
							
								 
							
						 
						
							
							
								
								Removed JSON encode depth parameter to keep PHP 5.3 compatibility.  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								b30d5e5fa2 
								
							
								 
							
						 
						
							
							
								
								Moved map method check to Engine. Added get method to Loader. Added new tests.  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								b4b43460eb 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #295  from shanelja/master  
							
							 
							
							... 
							
							
 
							
							Attempting to execute unmapped methods now triggers Exceptions 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Shane Armstrong
							
						 
						
							 
							
							
							
								
							
								a9ced778ee 
								
							
								 
							
						 
						
							
							
								
								#203  - Executing an unmapped method within the engine dispatcher now throws an Exception, clarified the return class of Flight::app()  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Shane Armstrong
							
						 
						
							 
							
							
							
								
							
								b7301a3c0c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1  from mikecao/master  
							
							 
							
							... 
							
							
 
							
							Merge pull request #294  from shanelja/master 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								f4da7aefdd 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #294  from shanelja/master  
							
							 
							
							... 
							
							
 
							
							#290  - JSON methods now support encode option/depth 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Shane Armstrong
							
						 
						
							 
							
							
							
								
							
								b7b929bf99 
								
							
								 
							
						 
						
							
							
								
								#290  - JSON methods now support encode option/depth, added missing  arguments to json/jsonp method documentation, _json/_jsonp methods now list arguments on individual lines to remain PSR-2 compliant  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								ec24d78602 
								
							
								 
							
						 
						
							
							
								
								Allow static methods to be called using a string.  
							
							 
							
							
 
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								7f402f805a 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #252  from hitautodestruct/patch-2  
							
							 
							
							... 
							
							
 
							
							Note regarding usage of flight in a subdirectory 
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								hitautodestruct
							
						 
						
							 
							
							
							
								
							
								af6afc6786 
								
							
								 
							
						 
						
							
							
								
								Changed flight to dir subdir  
							
							 
							
							
 
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								087032ca7b 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #246  from tamtamchik/patch-1  
							
							 
							
							... 
							
							
 
							
							Updated README.md 
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								Yuriy Tkachenko
							
						 
						
							 
							
							
							
								
							
								e42d4ad7f9 
								
							
								 
							
						 
						
							
							
								
								Update README.md  
							
							 
							
							
 
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								hitautodestruct
							
						 
						
							 
							
							
							
								
							
								1eeafc28a8 
								
							
								 
							
						 
						
							
							
								
								Note regarding usage of flight in a subdirectory  
							
							 
							
							... 
							
							
 
							
							Thanks to this question and answer http://stackoverflow.com/questions/20890210/flight-php-routing-from-subdirectory  
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								Yuriy Tkachenko
							
						 
						
							 
							
							
							
								
							
								eaa9c99dd7 
								
							
								 
							
						 
						
							
							
								
								Updated README.md  
							
							 
							
							... 
							
							
 
							
							Added example for routing object methods 
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								8bd0bdd0b6 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #243  from susuper/master  
							
							 
							
							... 
							
							
 
							
							Changed Last-Modified HTTP header format 
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								susuper
							
						 
						
							 
							
							
							
								
							
								bf7b6d6431 
								
							
								 
							
						 
						
							
							
								
								Changed Last-Modified HTTP header format  
							
							 
							
							
 
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								f3fa0513fe 
								
							
								 
							
						 
						
							
							
								
								Updated error handling for PHP 7.  
							
							 
							
							
 
							
						 
						
							10 years ago  
						
					 
				
					
						
							
							
								 
								Mike Cao
							
						 
						
							 
							
							
							
								
							
								b96aaa7967 
								
							
								 
							
						 
						
							
							
								
								Added charset option for JSON requests.  
							
							 
							
							
 
							
						 
						
							10 years ago