Commit Graph

608 Commits

Author SHA1 Message Date
Chris Ross (ASP.NET) d20d47924c Add HostString.MatchesAny #2863 2018-02-13 14:40:14 -08:00
Doug Bunting 7b9da556fb Add `HttpRequestRewindExtensions`
- aspnet/Home#2684
- makes the `BufferingHelper` methods used in MVC and WebHooks `public`
2018-02-06 22:11:06 -08:00
David Fowler 816ecf5cda
Reduce the amount of argument checking by flattening the call graph. (#995) 2018-02-06 10:26:56 -08:00
Robert Miles 672a5f3c76 Allow null value in query string KVP per RFC 3986 (#994)
* Allow null value in query string KVP per RFC 3986

* Tweaks per PR suggestions

* Tweaks per PR suggestions, round 2

* Tweaks per PR suggestions, round 3
2018-02-05 20:25:53 -08:00
Kristian Hellang 450900d14c Added protected ctor to AuthenticationSchemeProvider (#990) 2018-02-05 13:43:55 -08:00
Hossam Barakat 9119433ab7 Add the middleware name to the exception message UseMiddlewareNoInvokeMethod (#993)
Addresses #927
Addresses aspnet/Home#2692
2018-02-01 06:22:08 -08:00
Mikael Mengistu e8d69911fd
Adding Http2 headers to HeaderNames class (#992) 2018-01-31 11:55:43 -08:00
David Fowler 6cd313fcfa
Revert "Change MiddlewareFactory to type activate IMiddleware as a fallback (#988)" (#991)
This reverts commit 44d5bf074f.
2018-01-30 10:28:52 -08:00
Michael Hawkins 9f64c69a2a Disambiguates IFormFile name docs (#935) 2018-01-28 14:27:47 -08:00
David Fowler 44d5bf074f
Change MiddlewareFactory to type activate IMiddleware as a fallback (#988)
- This eases the transition and learning when you discover there's
an interface for middleware.
2018-01-25 13:51:54 -08:00
Chris Ross (ASP.NET) ce69341265 Add ITrackingConsentFeature.CreateConsentCookie 2018-01-05 12:04:50 -08:00
Chris Ross (ASP.NET) 63c2f43ce5 AuthenticationProperties code cleanup 2018-01-02 11:30:45 -08:00
Chris Ross 32bfa03875
Fix comment and exception typos. (#983) 2017-12-28 08:35:04 -08:00
Chris Ross (ASP.NET) ac702f6818 Add the cookie IsEssential flag and feature 2017-12-27 13:28:12 -08:00
lundog 9aaaefbb1b Initialize RequestCookieCollection case insensitive (#981)
* Initialize RequestCookieCollection case insensitive

* Call RequestCookieCollection constructor directly
2017-12-22 11:55:06 -08:00
user1336 db3c3ba589 Ensure HeaderDictionary store is initialized consistently (#979) 2017-12-21 08:50:32 -08:00
Justin Kotalik 150bb3faf4
Add BindingAddress to HttpAbstractions (#977) 2017-12-18 18:40:11 -08:00
Luke Latham 940c71eaf8 Correct spelling in summary (#975) 2017-11-30 13:51:33 -08:00
Chris Ross 476333771c
#955 Print available scheme names in exception message for invalid scheme (#961) 2017-11-16 09:17:57 -08:00
Chris Ross 3e3772eecd
Implement read-only HeaderDictionary (#958) 2017-11-06 20:03:49 -08:00
azechi f287c46bad Fix exception message for AuthenticationScheme (#960) 2017-11-06 18:38:01 -08:00
Chris Ross e2dcbea4ec
#907 Clarify the encoding requirements for Response.Redirect. (#956) 2017-11-03 15:52:59 -07:00
Nate McMaster c0f937239a Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 09:32:44 -07:00
Jonathan 75a7552360 Add Referer to GetTypedHeaders (#949)
* Add a Referer property

* Add Uri to KnownParsers

* Add property for Origin

* Add Origin

* Encode the URI

From feedback from Tratcher

* Inline the var 'out' declaration

* Remove Origin

Since it does not cleanly map to a Uri object since it can contain multiple values.

* Took back that whitespace

* Reverted

* Add using for UriHelper.Encode
2017-10-12 11:00:23 -07:00
Jonathan 01b4530fa7 Add Content-Security-Policy (#950)
* Add Content-Security-Policy

* Add Content-Security-Policy-Report-Only

* Fix previous edit
2017-10-11 21:30:29 -07:00
Jonathan badaa7393b Add header names for CORS (#951) 2017-10-09 11:58:37 -07:00
Henk Mollema d6a3c3f83e Add helper to register IHttpContextAccessor (#947) 2017-10-02 08:31:12 -07:00
Justin Kotalik b0d91c17f1 Add Strict-Transport-Security header name (#944) 2017-09-29 15:14:46 -07:00
Chris R 321639b0eb Add AuthenticationProperties to AuthenticateResult for failures. 2017-09-27 14:00:55 -07:00
Javier Calvarro Nelson 835ba2218a Update API check baselines to 2.0 2017-09-25 11:41:36 -07:00
Hao Kung bab16971ae Add comment for claims transform 2017-09-21 11:57:31 -07:00
Jonathan 5128efe0e8 Fix HTTP capitalization in comment (#931) 2017-09-12 22:19:52 -07:00
smarts 2b9516703b Update comments to use correct class name. (#937) 2017-09-12 13:53:04 -07:00
Justin Kotalik 1e8a22dae3 NameValueHeaderValue Escaping/Unescaping quoted-strings and helpers (#913) 2017-08-30 14:03:12 -07:00
Nate McMaster e5825641ce Use PackageLineup to manage PackageReference versions 2017-08-29 12:43:13 -07:00
Nate McMaster 9c699f74b0 Use Directory.Build.props/targets 2017-08-29 12:41:50 -07:00
Justin Kotalik e97e6546c2 Add structured syntax suffixes and facets to MediaTypeHeaderValue (#921) 2017-08-29 10:20:56 -07:00
Kiran Challa ce68ec23c0 Using WebEncoders' Base64Url encode/decode functionality 2017-08-24 14:00:49 -07:00
Justin Kotalik 6657f4cf36 Adds MaxAge property to CookieOptions/Builder (#904) 2017-08-22 16:57:04 -07:00
Justin Kotalik 27b0f60f09 ForbidAsync now uses correct Schemes method (#918)
* ForbidAsync now uses correct Schemes method

* comment

* adds tests
2017-08-19 22:09:22 -07:00
Justin Kotalik 594f55947f Keep ResponseCookie options on delete. (#905) 2017-08-10 18:01:30 -07:00
Justin Kotalik 057fc816fa Refactor to HttpRequest/Response Streams 2017-07-27 15:46:13 -07:00
Justin Kotalik a8270a4901 Removes quotes from names in ContentDispositionHeaderValue 2017-07-27 12:30:04 -07:00
Justin Kotalik b41d8656d5 Adds new date string in HttpRuleParser 2017-07-18 13:34:32 -07:00
Justin Kotalik 68ba94218a IsNullOrWhiteSpace => IsNullOrEmpty 2017-07-18 09:08:49 -07:00
Justin Kotalik ab0185a0b8 Adds null checks to UriHelper and fixes typo 2017-07-17 12:23:01 -07:00
Justin Kotalik 3202387d3f Fixes typo 2017-07-13 10:37:33 -07:00
Hao Kung 7403418d2b Clean up doc comments 2017-07-10 09:21:56 -07:00
Kévin Chalet 0f7c123081 Fix AuthenticationOptions.DefaultScheme's invalid XML summary 2017-07-10 09:19:48 -07:00
Hao Kung d894584254 Add DefaultScheme, remove single fallback (#891) 2017-07-07 10:47:54 -07:00