Files
kubernetes/pkg/kubectl
Kubernetes Submit Queue 51e6c879e7 Merge pull request #39226 from luksa/kubectl_proxy_empty_path
Automatic merge from submit-queue (batch tested with PRs 39311, 39226, 39445)

Make kubectl proxy accept empty path

**What this PR does / why we need it**:
The kubectl proxy previously returned 403 Forbidden: Unauthorized when receiving a request from e.g. "curl localhost:8001" or "curl localhost:8001/".  The previous DefaultPathAcceptRE regex was wrong as it assumed the path in this case would be "/" (but it is actually "").

After someone runs kubectl proxy and tries accessing it with curl, they will probably just try hitting localhost:8001  (which returns an "Unauthorized" response) instead of say localhost:8001/api (which returns a proper response from the API server). Also, whoever previously modified the DefaultPathAcceptRE regex was obviously expecting the regex to accept requests for localhost:8001/

```release-note
fix issue with kubectl proxy so that it will proxy an empty path - e.g. http://localhost:8001
```
2017-01-04 18:25:07 -08:00
..
2016-12-12 13:30:07 -08:00
2016-12-29 13:04:10 -08:00
2016-12-12 13:30:07 -08:00
2016-12-01 16:09:05 +08:00
2016-12-29 13:04:10 -08:00
2016-07-16 13:48:21 -04:00
2016-12-09 09:42:01 +01:00
2016-12-03 19:10:46 -05:00
2016-12-21 09:03:27 -05:00
2016-11-23 22:30:47 -06:00
2016-12-09 09:42:01 +01:00
2016-12-20 10:00:00 +01:00
2016-12-17 00:07:24 +01:00
2016-12-09 09:42:01 +01:00
2016-12-17 00:07:24 +01:00
2016-11-23 15:53:09 -08:00
2016-12-10 18:07:33 -05:00
2016-12-09 09:42:01 +01:00
2016-12-14 12:39:49 -08:00