Commit Graph

102 Commits

Author SHA1 Message Date
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
Victor Hurdugaci 11d048faa7 Build with dotnet 2016-01-12 16:22:33 -08:00
T. Thiery e1eb560c82 Added Unit Tests for form field based HTTP Method Override 2016-01-11 22:26:59 +01:00
John Luo d1a0edb87e Updating to new options pattern 2016-01-07 13:45:40 -08:00
John Luo 92fff3ccf3 Reacting to new Hosting API 2015-12-18 15:44:29 -08:00
Chris R 5e3c7cbbf0 #2 add options, #19 fix IP parser, update extensions. 2015-12-15 15:28:14 -08:00
Pranav K f8b5031ff1 Removing extraneous versions 2015-12-08 15:47:59 -08:00
Cesar Blum Silveira c765fedb21 Fix CoreCLR test pass on Linux (fixes #15). 2015-10-19 14:50:46 -07:00
Pranav K d41f2ccf71 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:49 -07:00
Chris R 2abd87ff5a Remove un-needed dependenecies. 2015-09-04 10:57:01 -07:00
Chris R 5a3418c2bd Use the new HttpContext.Features API. 2015-08-31 09:22:11 -07:00
Chris R c91cc89ee3 ResponseBuffering middleware initial checkin.
Restrict buffer to reset. Add sample. Cleanup.
2015-08-13 10:04:42 -07:00
Mikael Mengistu 09f492e4a6 Added a middleware to handle header overrides. Initial check in. 2015-07-29 11:37:11 -07:00