Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1511

RequestSecurityManager.checkPageSecurity() should return request security instead of INSECURE in case when security is disabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2
    • Fix Version/s: 5.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      In current version unless security is enabled RequestSecurityManager#checkPageSecurity always returns LinkSecurity.INSECURE.
      It could be better to return LinkSecurity.SECURE or LinkSecurity.INSECURE depends on request security flag.

              if (!securityEnabled)
                  return request.isSecure() ? LinkSecurity.SECURE : LinkSecurity.INSECURE;
      

      For now even if request to application is come by https tapestry generate http urls for getAbsolueURL call.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              lucker Alexander Gavrilov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: