Commit Graph

67 Commits

Author SHA1 Message Date
Morten Andersen 76256446f5 Forward custom header names (#102)
* Forward custom header names
2016-10-03 10:16:03 -07:00
Chris R 9bc8a83a39 #108 Change ResponseCompression to be DI centric 2016-09-30 10:15:46 -07:00
Nate McMaster 3e119a87be Remove rewrite rule API with default assumptions about skip remaining rules (#105) 2016-09-28 17:57:49 -06:00
Chris R 89a6f453ce [ResponseCompression] Compare MimeTypes as case insensitive 2016-09-26 15:35:30 -07:00
Chris R 665f2f8773 ResponseCompression style cleanup 2016-09-26 12:11:45 -07:00
Yves57 2a402abefe Response Compression middleware 2016-09-26 10:37:33 -07:00
Nate McMaster e003594fd8
Remove ChangeEnvironmentAction class and throw when env flag is set in mod_rewrite rule 2016-09-26 09:15:05 -07:00
Mikael Mengistu ead052324c Changed the abstract class Rule to an interface IRule. Renamed the RuleTermination enum to RuleResult and renamed the values 2016-09-21 12:31:36 -07:00
Nate McMaster d2fb2cd776
Change the IHostingEnvironment parameter to IFileProvider for top-level IIS and Apache extension methods
Also fixup some xmldocs
2016-09-20 13:36:26 -07:00
Mikael Mengistu d2913edf61 Added tests for ExactMatch, IntegerMatch and StringMatch in the Rewrite
project.
2016-09-12 17:24:28 -07:00
Pavel Krymets 2807e0b436 Use TaskCache class from Microsoft.Extensions.TaskCache.Sources instead of Task.FromResult(0) (#99) 2016-09-07 10:17:04 -07:00
Nate McMaster a5ff9d8003
Add 'Apache' and 'IIS' to internal namespaces and classes 2016-09-06 10:51:19 -07:00
Justin Kotalik 57c1f877e3 Adds path base to redirect location and tests 2016-09-02 11:26:57 -07:00
Justin Kotalik 51cd14efba Exceptions more descriptive and more NSE 2016-09-02 09:21:20 -07:00
Justin Kotalik 65e7f7f44b Removes startsWith in favor of array index, guarantee that string is non-empty in someplaces 2016-09-01 12:28:08 -07:00
Justin Kotalik af2c1acee3 Adds XML comments and feedback from 1on1 with Nate. 2016-08-30 13:58:00 -07:00
Justin Kotalik 4a06b37280 Modifies .Rewrite and .Redirect to use normal regex syntax for backreferences 2016-08-30 09:59:57 -07:00
Justin Kotalik 28133b6808 Remove RuleResult, added to context. 2016-08-29 10:26:05 -07:00
ZestyBread f3b4658c2c Feedback from David and API Review/ Tests 2016-08-28 20:16:54 -07:00
Justin Kotalik 0cb7445921 General bugfixes and style cleanup 2016-08-23 17:04:18 -07:00
Justin Kotalik 74b0b7945d Properly parse quotes and white space 2016-08-23 10:42:24 -07:00
Justin Kotalik aea655c2d6 Cleaning up a bunch of todos 2016-08-19 14:30:48 -07:00
Justin Kotalik 73e0d531e0 Adds mod_rewrite tests, small refactors to exception messages and types 2016-08-19 11:26:55 -07:00
Justin Kotalik d1ab35db87 Parsers are now non-static (when appropriate) 2016-08-18 17:17:55 -07:00
Justin Kotalik 7a56073835 Mod_rewrite refactor with cleanup 2016-08-17 16:51:55 -07:00
Justin Kotalik 903949cc74 Update structure of code rules, refactor to IISRewrite 2016-08-10 16:54:59 -07:00
Pranav K 52c7a94db3 Don't use abbreviations 2016-08-09 15:32:38 -07:00
Justin Kotalik 4ce3b8da6a Updating tests, Exception handling cleanup. 2016-08-09 10:44:09 -07:00
Justin Kotalik 5052a94cf7 IIS UrlRewrite Rule Application 2016-08-05 13:46:31 -07:00
Justin Kotalik a62e327c23 IIS UrlRewrite parsing. 2016-08-01 15:39:28 -07:00
Justin Kotalik 4687aad61e Fixing language on comment 2016-07-27 09:05:16 -07:00
Justin Kotalik 6b2e092aad Fix for regex coherence error. Small clean up. 2016-07-26 13:44:30 -07:00
Justin Kotalik 68a766f2cd Circular Dependency with Static Files fix. 2016-07-26 09:38:10 -07:00
Justin Kotalik fad730441a Fix Assembly Info 2016-07-25 16:52:01 -07:00
Justin Kotalik a9c2656404 Url Rewrite WIP 2016-07-25 16:11:11 -07:00
BrennanConroy d3816fa458 Make middleware issues more discoverable 2016-07-25 11:13:27 -07:00
Doug Bunting bc8785395c One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-06 21:44:53 -07:00
Pranav K 6e7c004a50 Updating to dev versions 2016-06-16 10:17:31 -07:00
Chris R 5fe48ada42 #37 Make the header length match optional. 2016-05-23 09:33:22 -07:00
Pranav K 52869b03ec Fix build warnings 2016-05-02 11:27:05 -07:00
Pranav K 6e66c16dfe Removing imports from src projects 2016-04-08 06:49:26 -07:00
Eilon Lipton 9e7387a941 Fix package metadata 2016-03-06 21:38:17 -08:00
Ajay Bhargav Baaskaran 327751690d Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:39 -08:00
Doug Bunting be0905bf4e Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 15:30:51 -08:00
N. Taylor Mullen 7c60ec6fa5 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:38:47 -08:00
Ajay Bhargav Baaskaran 55f1d41e08 Updated missed doc comment 2016-02-17 14:45:57 -08:00
Ajay Bhargav Baaskaran 8eb737a459 Enabled xml doc generation 2016-02-17 12:27:23 -08:00
Chris R 44f03ef83f Restrict x-forwarded-for evalutation. Credit: pmhsfelix.
Use x-forwarded-for validation to restrict other forwarders.

Rename OverrideHeaderMiddleware to ForwardedHeadersMiddleware.

Fix tests

Fix package version.
2016-01-26 10:59:13 -08:00
N. Taylor Mullen ab34d08bc1 Update ASP.NET 5 versions for ASP.NET Core.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:28:45 -08:00
N. Taylor Mullen 3c6f68acb9 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:25:01 -08:00