Page MenuHomeIn-Portal Phabricator

INP-1801 - Use dynamic protocol during installation
ClosedPublic

Authored by alex on Mar 23 2021, 4:21 AM.

Details

Test Plan
NOTE: All tests must be performed under an SSL connection (the "https://" URLs) with a valid SSL certificate (green lock)
  1. delete /system/config.php file
  2. go to Homepage (e.g. /)
  3. confirm, that the "Go to installation script" link, that is shown, has the same protocol as the visited page
  4. apply D403 patch
  5. perform In-Portal installation with all the modules using SSL connection (https:// protocol)
  6. confirm, that the SSL connection lock is not broken across the whole installation process

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint ErrorsExcuse: Not fixing issues, that existed prior to made changes
SeverityLocationCodeMessage
Errorcore/install.php:162PHPCS.E.CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfterCodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter
Errorcore/install.php:162PHPCS.E.CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfterCodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter
Errorcore/install.php:162PHPCS.E.CodingStandard.Strings.ConcatenationSpacing.NoSpaceAfterCodingStandard.Strings.ConcatenationSpacing.NoSpaceAfter
Errorcore/install.php:162PHPCS.E.CodingStandard.Strings.ConcatenationSpacing.NoSpaceBeforeCodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore
Errorcore/install.php:162PHPCS.E.CodingStandard.Strings.ConcatenationSpacing.NoSpaceBeforeCodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore
Errorcore/install.php:162PHPCS.E.CodingStandard.Strings.ConcatenationSpacing.NoSpaceBeforeCodingStandard.Strings.ConcatenationSpacing.NoSpaceBefore
Errorcore/install.php:166PHPCS.E.Generic.Files.LineLength.MaxExceededGeneric.Files.LineLength.MaxExceeded
Errorcore/install.php:168PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Errorcore/install.php:168PHPCS.E.PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracketPSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket
Errorcore/install.php:168PHPCS.E.PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracketPSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket
Warningcore/kernel/startup.php:33PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Unit
No Unit Test Coverage
Build Status
Buildable 1039
Build 1039: arc lint + arc unit

Event Timeline

alex created this revision.Mar 23 2021, 4:21 AM
alex requested review of this revision.Mar 23 2021, 4:21 AM
erik accepted this revision.Mar 30 2021, 5:26 AM
This revision is now accepted and ready to land.Mar 30 2021, 5:26 AM
This revision was landed with ongoing or failed builds.Jul 8 2022, 8:51 AM
This revision was automatically updated to reflect the committed changes.