Commit Graph

62 Commits

Author SHA1 Message Date
Mikael Mengistu 733c8f77e2 Refactoring a lot of tests in the Rewrite project
* Removed extra newline
2016-10-03 16:56:29 -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
Mikael Mengistu 2a386b7b76 Removed unnecessary import 2016-09-27 17:29:26 -07: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 58ef98b184 Sample project can now redirect to HTTPS (#106)
Sample project can now redirect to HTTPS
2016-09-21 22:02:45 -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
Mikael Mengistu d2913edf61 Added tests for ExactMatch, IntegerMatch and StringMatch in the Rewrite
project.
2016-09-12 17:24:28 -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 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
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 a9c2656404 Url Rewrite WIP 2016-07-25 16:11:11 -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 ab98dc29ad Updating to RTM builds of xunit 2016-06-29 14:53:17 -07:00
Pranav K 6e7c004a50 Updating to dev versions 2016-06-16 10:17:31 -07:00
N. Taylor Mullen e250efeab6 Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:30:16 -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 7fd1e62322 Use latest build of dotnet-test-xunit 2016-04-19 14:53:51 -07:00
Pavel Krymets 8cbd76f166 Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 17:10:01 -07:00
Pavel Krymets c4f5cfaac3 Migrate tests, tools and samples to portable 2016-04-15 12:07:47 -07:00
David Fowler 52587420e8 Fix build
- Hoist packages using netstandard.library
- Upgrade process since it's not in the standard library
2016-03-25 01:05:48 -07: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
John Luo ea1e9dd018 Updating test TFMs for custom test discovery 2016-02-19 15:47:08 -08:00
Kiran Challa d1a5ce82c0 Enable tests to use dotnet xunit runner 2016-02-09 23:36:14 -08:00
John Luo 6f5e764e87 Updating to new CLI 2016-02-02 17:38:22 -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
N. Taylor Mullen 4bbd498047 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:24:58 -08:00
John Luo 6a3ae53108 Reacting to hosting rename 2016-01-17 17:05:04 -08:00
Chris R a442701e22 Merge pull request #24 from tthiery/dev
Added Unit Tests for form field based HTTP Method Override
2016-01-13 11:59:03 -08:00