1
0
mirror of synced 2026-01-04 18:06:26 -05:00

Merge branch 'main' into repo-sync

This commit is contained in:
Octomerger Bot
2021-11-16 13:22:15 -05:00
committed by GitHub
73 changed files with 157 additions and 142 deletions

View File

@@ -54,7 +54,7 @@ sections:
- '{% data variables.product.prodname_ghe_server %} 3.3 includes improvements to the maintenance of repositories, especially for repositories that contain many unreachable objects. Note that the first maintenance cycle after upgrading to {% data variables.product.prodname_ghe_server %} 3.3 may take longer than usual to complete.'
# https://github.com/github/releases/issues/1533
- '{% data variables.product.prodname_ghe_server %} 3.3 includes a repository cache for geographically-distributed teams and CI infrastructure. The repository cache keeps a read-only copy of your repositories available in additional geographies, which prevents clients from downloading duplicate Git content from your primary instance. For more information, see "[About repository caching](/admin/enterprise-management/caching-repositories/about-repository-caching)."'
- '{% data variables.product.prodname_ghe_server %} 3.3 includes the public beta of a repository cache for geographically-distributed teams and CI infrastructure. The repository cache keeps a read-only copy of your repositories available in additional geographies, which prevents clients from downloading duplicate Git content from your primary instance. For more information, see "[About repository caching](/admin/enterprise-management/caching-repositories/about-repository-caching)."'
# https://github.com/github/releases/issues/1616
- '{% data variables.product.prodname_ghe_server %} 3.3 includes improvements to the user impersonation process. An impersonation session now requires a justification for the impersonation, actions are recorded in the audit log as being performed as an impersonated user, and the user who is impersonated will receive an email notification that they have been impersonated by an enterprise administrator. For more information, see "[Impersonating a user](/enterprise-server@3.3/admin/user-management/managing-users-in-your-enterprise/impersonating-a-user)."'

View File

@@ -28,7 +28,7 @@ export const hasLiquid = /[{{][{%]/
export const dataReference = /{% ?data\s(?:early-access\.)?(?:reusables|variables|ui)\..*?%}/gm
export const imagePath = /\/?assets\/images\/.*?\.(png|svg|gif|pdf|ico|jpg|jpeg)/gi
export const homepagePath = /^\/\w{2}$/ // /en, /ja /cn
export const multipleSlashes = /^\/{2,}/
export const multipleSlashes = /^(\/|\\){2,}/
export const assetPaths = /\/(?:javascripts|stylesheets|assets|node_modules|dist|_next)\//
export const oldApiPath = /\/v[34]\/(?!guides|overview).+?\/.+/
export const staticRedirect = /<link rel="canonical" href="(.+?)">/

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b53d76226814a34ba3acd8a9793d6d895e17fd318657df1b216f1feee5da31c
size 617236
oid sha256:8257f6b49f9bfd27242d5c9b93f0ad0b2b1aa02c6d5e176eb2413f68482814cc
size 617208

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:681cad3234a34ad5eb33a6d9cee1020a4fc480bd52eaf333aa1be79428c98e91
size 1058037
oid sha256:66c37b6e68b2d91d695ff7af8ec238b7b0f3ae25b4153a935802e1a117567e04
size 1057671

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3efbd6ba5219c8d774dce25a183c232fccbdabc6f1dce2f5e43553c976dc38f2
size 940830
oid sha256:a4ec88836717ffd36327311347de9876d8d3434a8b10d3e6c6f1fc71336b9d2d
size 940606

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2a7c5ebfc9b4c0e9c9cdc701a0ccb110a3fdb8c7f844c450484bfec46fb2184
size 3844042
oid sha256:cf5a0db21c9f4353a80d3366bad034baaf5cd3f9fc7d64edac8aab224fa873d3
size 3842456

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f40b03ebda234456449b104c80d04043da033ffba2c665abab0cf67b51d0fcc
size 545641
oid sha256:1b1844f983496eb0bb5d5312337d40ab034aadd09b63ea153dc7f30fc5c30780
size 545691

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:640270e2ec7f996856320de337ad2444b468f4819ab8b46460aa79104bdfb714
size 2164358
oid sha256:1e3b719c4de2205474bc668d0122f2a11f4d75eecf928a84229070891e273fae
size 2163516

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea4b47d5d8c150eebe3b28111ee50c17ffee758a1bd17abd828120218904e8ed
size 638385
oid sha256:6848774934e4f422f53824d4a5aa20f6972b8f70790f1ab41e40544df83ef0e1
size 638376

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5c04435f8726743d1d8852e2843ae698e1a919b4494f4a06fca6c4b19871b4f
size 3281597
oid sha256:06845612b23746ac0e8eae3c68c1e1d0eb5d4c5db5a6cb9efb855a3956f2ec98
size 3281200

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35cf24f1ba044a99e49aa7ef6058f20bff2742e1724db1cebc3c6b9aa6138c80
size 543651
oid sha256:bfd83204d41311c0d6f390df41ebc9cdac7df1767288c306faaebdc795a382aa
size 543425

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b35e48169bfdda4550f1bc3dd78c9261b55230f3d8b5826529c8a01d83047cc
size 2187786
oid sha256:06b5b3f15fc62d312b493aaf19038d6ea858c1c64343493987fea9912a05e159
size 2187010

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0a9e1f16ee3032960c50ced73e63efe9b300c48ee5c2a14fd2ce0e1238656e1
size 631506
oid sha256:efe8aa12be7b76a4901d068fd37472a236deb39c1c489fa3162cdf679622c2e4
size 631529

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b200ef3b4703dbafa3aae67c133454b8e7ed86b4ce27e30f3dcec081c64582e8
size 1088900
oid sha256:bf7e13af4275629591fb1d2aea69a93b61eaabc740100f0d2549af5056535d1c
size 1089094

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5941719b602d93fc65022886fcdab3f1e5a765328d73f97ae6c8e9758199ef94
size 965504
oid sha256:1cdbf888c16cdf9ab7a8ef34fc193a4b423dce2ec978d70e8afe0ae12f15fe86
size 964308

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2247611b2a122fd89d37a138132f2203581e754940ed95460f5db2a85dceef3d
size 3937055
oid sha256:adea30dcf0753b3b5f677ce4e08687eb66b27ef60de2c38e5cfeb683370760fb
size 3932712

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07fb077d861f859094fb277a486c74b83141863a32ddec05fb5ea3fe230c1c13
size 557159
oid sha256:fc87e6d9e3f6cfc6182741677def689718fa3dd322d87bdd29fc5360a786648e
size 556869

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e62d30c368e7af0dfc526ad177b35803132642c92c9bbc3cba1fc7b0a241d9f
size 2216509
oid sha256:a896e381d9a0a2b59f0b68e70b383e5c0fab0d83bd572100adee1cf0db18aef6
size 2215404

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:976c5fe339539489d12dda04813f8c73a21cd5fe62941bf0a6465e235e810649
size 652885
oid sha256:e0fefb9d18172c747ceedb239a2866bf1932fabdfbd2daa72da4a42f5a15a3f6
size 652550

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:27ba8d49a65eda51c3171c9ac8f009dc6f69b563f3f8d5dd59137e755c2fdd44
size 3361733
oid sha256:9a51674ed417e9cc8a539504d345c82970402671b73adebb68e28a9c4adb5ea7
size 3361992

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9532f38bf90fda2899bda7f6534588233db53a588d441da6a6b3cb58ff5eca0
size 554936
oid sha256:a70236207492d07ee0303a438a1686873331f16f96e015f47d1d62913ebed63c
size 554746

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0955725efdbdac743d32c3c8afd19fc6ee114ba7ddd77c3312915fd72545f1fc
size 2237180
oid sha256:56f2e00bf6b47f26ad8b9b39de2298d40da925f6925abaedbd68ff92f01bcd3a
size 2236322

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a617c5304d4631c759645a20ef2cf23f24a42e5304a92bafc6a8efa8c38840ae
size 643210
oid sha256:39198c904a8fc3f0b5ecc85c98f9a12c95b01934619b49ed9565d56ca375b263
size 642897

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a5e34b911b908d3ad0575108ea7ac59052a26e24ed205fbcaaae1e678c57f39
size 1111825
oid sha256:87470ae96e55c9390aa015aa75bb1403c1a97680f6f4de565678f586b143865e
size 1111632

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3aed0c2562d7e7dd8495685685d365fbd6b78fe8e7d0ced24ced831bb979a61a
size 996042
oid sha256:7a7c24159d80421ed4013df5aed62c6f7c051192e9b81292068d9c81d4602b1a
size 995504

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5bf719f29e81905803b45febe41a84d4be8c33b05d79a4b672646f5eae2f2d1c
size 4055331
oid sha256:b9f61183d5740e2d281bc448a5aa503c6b0af857ba3687f1cfe2739bf6cf7eae
size 4053521

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:251af691e8bc8e7f98342622b2d275d5b4d33c4691f678aaa3491ca06fbc8e6f
size 566416
oid sha256:49b259354e3a130088320f9cc3053a72f48598759d2bd564c5a8157152721fef
size 566104

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02e15057e49655bce2a849ad8ae1abada0c972be47de1f8ab98f07b42c4b1646
size 2254681
oid sha256:a8e2e752aaea5cc0f7049066d8972aca713b6340dc8d6f3887f516f41212392a
size 2253218

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ece4a863a6182d1af6b80aa46a44d252bb960029b3d711c2bbc93e8776ed9fed
size 663929
oid sha256:ccfcd76424a779be5f8176eca414ef3a99432a9f7fc987ce3f73dbc33f371fc9
size 663777

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95b65061f7a0d7578c77702022a77b471b8ee9bb1da57a081976c45fb81d98e5
size 3422007
oid sha256:2be7219b30f04d71c117963b08cbaa20f8a9977a49e2d83be91d8835db0468c8
size 3421195

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff89c5a5d1609831720d62d6c6fd70c3cc70d7576672494dd35d1f3f034f66d7
size 564103
oid sha256:e4283db5b65996692bd88a23566480e165b85a82091e91a1f1791a304a6e8d7e
size 564069

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c7480d2911de1363e6c6f83121ece817967f51c20a731be334f4117035571f6
size 2274769
oid sha256:864bc7c595611e23f293464c49b8f978e4ebd3cdd61ac0e7ff694bd430ffcded
size 2274541

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43505b0263cde279c56ac521d69019bc4bee849c95aa693d1b157f2d81a2c08b
size 645632
oid sha256:46cfd5b7c547ee6393401b5a88b6a42a17ea6c714352ae7db6dc2936a9379452
size 645720

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:456c6cf864e84b4102b098c73d6f05c4ded43e8cc161e28266a78a05b5f7cc7e
size 1123339
oid sha256:abb804d758765c170906ec1c0d23d7ecd1a03be1b38a5bdafaff7be8a3901ea3
size 1123322

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3067f1fd5be39de2e1d2d48100ee741ccfca5c8d3ff472ce5efbe532f57b6059
size 1029715
oid sha256:6f978502129bda7e85ca94d9dc5d63cd90966247f7929a6614c86958fd79073f
size 1028579

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f5f1a55f14184259a475f9add3e1d582d60a73eae23047d9ec640ae6bdca9c2
size 4152262
oid sha256:560d886d28d6ec05933b264a8c29071ef81fab1602bee78b61d07225b3c165d8
size 4148638

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2eab429def63fe3d016c72ed23d3af6453ce9ab6c313561705134723318a38c3
size 569075
oid sha256:ce70d91c384a795f3c7e7b6c9804c599dc7356f5df13243fb551c077ce429844
size 569100

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25b8cabb2dce70f607678c7a36c3557277c03fcffd2df1998fe6ac5c4267855d
size 2266740
oid sha256:20e31250522c5804a0c8302f05d4d6e32483ea6f43962fa412a162c6a19eb07f
size 2266112

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fb84e1109f34c9687bee5e5e8382fc2071cd953075859f373b5220f0e6e0b10
size 666542
oid sha256:52a0707ac92ec55128cc220cd089769aa3660b409150a13bb72fda6d9f11f15c
size 666298

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dde2902798cc2cb0524fcc49e558ea9c6ddbd825515d49fffe694ec9d0462151
size 3439369
oid sha256:dc4250f7f711da2a30194d2a91945a098feae7a37c524fc0565f753d60dc1ea5
size 3437333

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e3f5c013aafad65f690e42653285c3ae296155796eeda6da117237a5786ab1a
size 566499
oid sha256:3a4d2de7c21719eb48a257ecd162ada6d25944ab091c9534bd856858d1658e9d
size 566618

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4fc86bfdc10d39e1513c03cb31abe12bc25c6ed860ffa00a227036ab7d6c251
size 2284853
oid sha256:82bc866bb7661a9cbbf1c902029013f9159f8d3c7aae4357a6d2ef9e4b0478e4
size 2285086

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acfbb9f53ca2f417a38b725f2aa00bff447220d703695ce2f724d153684ca45a
size 868921
oid sha256:ff3bf1c9ca20a373039222706a4cc8eb505a72e7d7069629bcd5eefc69749d0c
size 869035

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4708c89c16008b678ed01227e6110b1c8e901135eeb98f7ac0cb37942e79c68
size 1360989
oid sha256:6389767070419dabebc8958ea1ce922702bdda38d7b633c111515286da660c64
size 1360867

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a0d46ef437d2f5ce9ff37e6c50b717a0b53e19e2e148ba5ab24d2187c5b6c38
size 1326998
oid sha256:2a0cf9b5557881a7a8f611806729810e1cb78d0237ea861ec4f45d4f2df65595
size 1326664

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36dbe36081e5ca742e799c73512ba84d1c1d10f6763490f1b5f6e5dc4afe63d1
size 5063100
oid sha256:f0de89bf3e3a19f1c0926c89d116edf39b2b92fb3b62bf8a93731732be5d1208
size 5062798

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b682583c83af0c964ef7e8afc2fa3c941f621ab9a59b7adb15e2c546716b3e0e
size 754069
oid sha256:07f53107faa44813662da5aeafc2a17a098ba6995a026f216e5a60ba5f4c1204
size 754187

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23be24e92311bd406106bda2dd251c506c5fed71634ca2bae82bc855b27a61b0
size 2889233
oid sha256:f5531def883058ecfc4e72e9536068295e5c0ac1db9ab6f8fe5fdf230cf43dbe
size 2890039

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:034f8fa75ec2185b4c11d4e1a85cfdf6adf6cb91c7dbdc35971d20f952544976
size 889538
oid sha256:b8035c3eeba39274e0c4ed904ea0c0963be8ab319a580318f81b60171d2710f8
size 889675

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c47f25db882c9508657532a0d644457f95fa202d529264153a63ce945b31eed
size 4447219
oid sha256:0b8bd63e8688bc6e09658255ba408bbccdfb755c4a98653b6645dd717c5b20fe
size 4447374

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:998d2c47f22d2940ef2f6de82c7208676db9a8351bd109887233eb3536cd1e48
size 755407
oid sha256:0a63920d7b87d8f3af07ba5473c5dd4909eb5a2309d83b41a69aaf49a42edefd
size 755356

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45812fd24354c478a383dd54a2a3826483ddcb632df8ca310705ec50cac05e14
size 2936151
oid sha256:bd144b14670434b122239d66f6813fcfa27b55ce5a71ce7734a2e5e75734bd76
size 2935342

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:950326ccc56061143aaf5ca4afba47a2b4d2a92824ec65441de7e81b734d526a
size 493631
oid sha256:9066469b73737ed84420ba9a734603a9c50a5c350105397605fd5dd371e01371
size 493445

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:855084373664bb2bedcd676387da0f5f73501b872ae24afad23d0e2fd4901458
size 828875
oid sha256:2097dfc76eeda3c23c2793ff59afe477f8a310d4ba7e7c282808babd33e08366
size 828981

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6221b98c18413c19c067a69a09f94a902924e0776aac398f82e43ca678f9765
size 795247
oid sha256:bf8ed4908cef5a08623641b96d1fccd457f8a6bb75d7b8b8e4c3550f782691de
size 795441

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:820ef7add01988cc162461c6b09886b73089e770c6932c2d1eba20815e393e0c
size 3197360
oid sha256:640e293b1d19a83eeef36a0ad52dd5475626012b55a310f4dc4caac05125c3f5
size 3196139

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9cd482dc3d9df879cb4a6f807a15239cc1fb9c18e0675bdc00aa25b6f566aa5c
size 435270
oid sha256:e063efcd8ff5d928cfdb598ef9463c7945a9ba0e8319523f92c44b59f17aca50
size 434991

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0236444c1d952271c4aabe5ed5bd9f99897ce88d7e7de7d6fc97585a9f86bfe4
size 1660703
oid sha256:031f6bff1f973e13763ef1e41b94184c092dab473edce6d119fb7fdbcee60cd0
size 1660400

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8885db738a9ab7100437aafcc07a11d1c3b94c386a44eeb568762396281d4f5f
size 509343
oid sha256:7056f5a88bb29f4f8b3de47fcd1698c220f0fcf931867e78c55d54e86d95b639
size 509247

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f6efa8bf07beda85ebb5b809294ce20ee4e44586cacffa17270eecd9cbe9c73
size 2518983
oid sha256:348277fc15f1557f36132ebb5b0aa1af2f48c26a82623b171632f18bde7a5014
size 2519400

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5598245509e63b5baf23c91ca4081373468cedd03481fcb37350c1b62766a39f
size 434478
oid sha256:12eb8f304b1f6710c3cbba5ff1af309d01e98b0f23d2d1cb1b7eaf78ce4d1682
size 434372

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b07e272a0538b3d133cc4098d29f485f69b6b1877dad431314c3a847708df2e
size 1677868
oid sha256:207f7c8ccb25dfbc18cfaffe433b99487b2d6c1c98d28cae3c1dfc8850b188bc
size 1677411

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae72f4844ddc5734cd1795edba4f9041cc7fa5564fe2a153ae821d8b85baa685
size 763323
oid sha256:4f2460f768218f873946cf76a1dbba39272b21fe6019314089bf4b83dda5f359
size 763279

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39675628892d9976528482022adaa61ba452031bf0f682b3f9c928c4eaaaf85f
size 1349535
oid sha256:cfe9eb6e900f4e684f84055d7ef30219133888978438a450ca35896d89e0ed75
size 1349504

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41000158da80bca5313ecd18386c3437bf4f4c62cba9160a0f7ef54532ae4b02
size 1165908
oid sha256:670729c3b36a69441538ef5980d766a9d2c7cd4637fd30b587804ff7988fb67b
size 1169605

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32cb091ffe9e1bba248e0c687c6d365b98d761e856cc99173fb544d544f07583
size 4722508
oid sha256:47dbdd48b4928a0b61c3382086870fd3ed24d044c9c916fc13b2b3ec2a231655
size 4719307

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1c7faa2e911071a1b0e1f1998d73231f6e200401a09770028163a43adbba76f
size 688038
oid sha256:f257f85a1ec316221d8624f4b239ad12a3cde076136e49c60b8d82b7efe37ff7
size 687762

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:66abd97ac8f2682247be8da095bc5b218cbb24542204e0bafc742f8b30c380fe
size 2766997
oid sha256:4b44277648a8b919fb0b274479dad3d5ae41540654814ffc6504149a5944b441
size 2766943

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f9bbaf2a494624c5be2f927e22c95e1f5d1407ff2a12956f36fe841066d99e6
size 789663
oid sha256:7caff9eaec4e458059ee44af1f39b3ae92c49bbfa199ef3aeb2fb743b00e00a6
size 788808

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a947caafd6ad8e464db3dfa202d4f48baa4661edef8fceda865da602dc4db07b
size 4142310
oid sha256:e2ff154a1dc5e0a87b046cbaa5be20dcb23586f55bfe807f3046d10c479700df
size 4140990

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94736d8ac36f3ccb434275fa6d62e15657ab408abf225d537823fe869342c6fe
size 686554
oid sha256:ace2d84394aaaab7aa7a0a8af7c6c85aec3d9d225ba85ba5cdee69a303eeda97
size 686485

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07f3fe24c6594aaa902e08e8acbc8f5bc44ceed1a17fd72f8098d1fa1f670bc5
size 2794027
oid sha256:5889ed8314377df96ad5f9e2cb437abbdb0599416cff8687ac56226d76b862da
size 2794108

View File

@@ -83,4 +83,19 @@ describe('help.github.com redirect middleware', () => {
`<p>Moved Permanently. Redirecting to <a href="${expectedRedirect}">${expectedRedirect}</a></p>`
)
})
it('only redirects to a docs.github.com path backlash edition', async () => {
const req = {
hostname: 'help.github.com',
protocol: 'https',
originalUrl: '/\\evil.com',
}
const res = new MockExpressResponse()
const next = jest.fn()
await middleware(req, res, next)
const expectedRedirect = 'https://docs.github.com/evil.com'
expect(res._getString()).toEqual(
`<p>Moved Permanently. Redirecting to <a href="${expectedRedirect}">${expectedRedirect}</a></p>`
)
})
})