Uploaded image for project: 'Magnolia Public User Registration'
  1. Magnolia Public User Registration
  2. MGNLPUR-94

&regStamp in verification link is replaced by ®Stamp in hotmail

XMLWordPrintable

      The &reg in the verification link sent by email is misunderstood at least by hotmail to be the ® html entity. This results in unusable verification links when sent to hotmail accounts.

      Original verification link

      http://www.test.ch/.magnolia/pages/validation?userId=aac0107c-94e8-426c-a0d9-2c8b9fb77eea&regStamp=1368456964532

      As it's changed by hotmail:

      http://www.test.ch/.magnolia/pages/validation?userId=aac0107c-94e8-426c-a0d9-2c8b9fb77eea®Stamp=1368456964532

      I'm currently using an easy workaround:

      if (userId.indexOf("=") > -1) {
      	log.info("UserId contains = sign, splitting parameters: {}", userId);
      	String splitString = userId;
      	userId = splitString.substring(0, 36);
      	regStamp = splitString.substring(splitString.indexOf("=") + 1, splitString.length());
      }
      

        Acceptance criteria

              rkovarik Roman Kovařík
              championm Marc Champion
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD