Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4596

Order: Add an option for URL redirect for affiliates

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.3.0
    • Fix Version/s: Short Term
    • Component/s: Plugins
    • Labels:
      None

      Description

      Often times users want to redirect users to a specific URL after registering the affiliate cookie. We should add a parameter to the affiliate link URL that will cause a redirect to occur to the desired URL after the cookie is registered.

      I'm not certain how this should look, might be a good idea to see some other examples. Obviously, the URL would need to be encoded to be passed in the link. urlencode() or perhaps base64

        Activity

        admin Paul Phillips created issue -
        Hide
        admin Paul Phillips added a comment -

        One other thought would be to allow the client to set a URL to redirect to within their account.. however, there are some concerns about this, we may want to force that the URL be relative to the hostname that Blesta is installed at, or if a subdomain include the primary domain.

        So, if you have Blesta installed at my.domain.com, then the link could only go to a URL at my.domain.com or domain.com. The alternative could have Blesta redirecting to potentially malicious URLs. This would probably also be a consideration for this task generally as suggested in the task.

        Show
        admin Paul Phillips added a comment - One other thought would be to allow the client to set a URL to redirect to within their account.. however, there are some concerns about this, we may want to force that the URL be relative to the hostname that Blesta is installed at, or if a subdomain include the primary domain. So, if you have Blesta installed at my.domain.com, then the link could only go to a URL at my.domain.com or domain.com. The alternative could have Blesta redirecting to potentially malicious URLs. This would probably also be a consideration for this task generally as suggested in the task.

          People

          • Assignee:
            Unassigned
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: