- 08 11月, 2019 2 次提交
-
-
由 Asher 提交于
If you visit /login/ instead of /login the cookie will be set at /login instead of / which means the cookie can't be read at the root. It will redirect to the login page which *can* read the cookie at /login and redirect back resulting in an infinite loop. The previous solution relied on setting the cookie at / (any invalid value works) which then overrode the login page cookie since parseCookies only kept a single value. So the login page would see the same cookie the root was seeing and not redirect back. However, that behavior depends on the cookies being in the right order which I'm not sure is guaranteed. This new method tests all available cookies and always sets the cookie so the root path will be able to read it in case the login page is seeing a cookie the root can't. It also goes a step further and explicitly sets the path on the cookie which fixes the case where there is a permanent misconfiguration redirecting /login to /login/. Otherwise the cookie would continually be set on /login only and you'd have another loop. It also means you only need to delete one cookie to log out. Lastly add some properties to make the cookies a bit more secure.
-
由 ecrode 提交于
Should prevent endless redirects when the cookie is set on a different path or domain (like with a dot prefix).
-
- 07 11月, 2019 1 次提交
-
-
由 Asher 提交于
-
- 06 11月, 2019 1 次提交
-
-
由 Asher 提交于
-
- 05 11月, 2019 2 次提交
- 01 11月, 2019 1 次提交
-
-
由 Asher 提交于
-
- 31 10月, 2019 1 次提交
-
-
由 Asher 提交于
-
- 30 10月, 2019 8 次提交
-
-
由 Asher 提交于
-
由 Asher 提交于
Accidentally used local instead of remote. Fixes #1127.
-
由 dependabot[bot] 提交于
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Signed-off-by: Ndependabot[bot] <support@github.com>
-
由 Asher 提交于
Fixes #1076.
-
由 Asher 提交于
Fixes #1104.
-
由 Asher 提交于
It doesn't show in the explorer anymore so there's no point. Also remove the local scheme transform which is no longer required with the latest client-side extension implementation.
-
由 Marc-André Daigneault 提交于
-
由 Asher 提交于
-
- 29 10月, 2019 6 次提交
-
-
由 Asher 提交于
Partly addresses #1121.
-
由 Asher 提交于
This should fix all those reports of code-server dropping straight to Node and things like #1121.
-
由 Asher 提交于
This fixes code-server exiting with zero on errors.
-
由 Asher 提交于
Fixes #1118.
-
由 Asher 提交于
-
由 Asher 提交于
Fixes #1119. Apparently `split` does not work the way I'd expect.
-
- 28 10月, 2019 1 次提交
-
-
由 Asher 提交于
Fixes #1050.
-
- 26 10月, 2019 4 次提交
- 25 10月, 2019 5 次提交
-
-
由 Asher 提交于
Unfortunately it doesn't allow websockets so it's not working.
-
由 Asher 提交于
-
由 Ayane Satomi 提交于
-
由 Asher 提交于
See #1103.
-
由 Asher 提交于
Fixes #1062.
-
- 24 10月, 2019 4 次提交
- 23 10月, 2019 4 次提交