• Login
  • Register

DNN Forums

A community discussion page. We're starting from scratch, so...let's get the party started!

Problems with redirect on login

You are not authorized to post a reply.
Sort:


New Member


Posts:3
New Member

    Hi,

    We have an DNN 8.0.4 installation which suddenly has a strange problem. There is an user with an ‚ü‘ at the end of his name which results in a redirect error after login. It seems like the site it redirects to after login, redirects to another site with the userid as parameter but on this specific user the id is not resolved and instead the username is used, which results in something like „url/users/xyzü“. The strange thing is that other users with the same character at the end of the username don’t have this issue. We tried to look inside the code of DNN and searched how the redirection after login is done but with no result helping us on this problem. Also interesting is the fact that this error only happens if you use the "url/login" Site, if the login is inside of a popup it works correctly.

    1. Has anyone experienced a similar issue in the past and an idea on how this is triggered?
    2. We think an module called „User Redirect“ (which seems to be from dnncorp) seems to be involved. Does someone know where this is configured and if it’s possible to look inside the code of it?


    New Member


    Posts:3
    New Member

      After further investigation we have to correct a few things:

      The problem isn't with the login directly, it's the site redirected to. There is also a link to this faulty site in the menu and if the user clicks this link the same problem happens. So it seems dnn should resolve url "website/foo/bar" to "website/bar/foo/[userid]" but fails to do so (for this one specific user) with the result "website/bar/foo/[brokenusername]". Does someone know where this masking/rewrite/redirect of the original url could happen?



      Veteran Member


      Posts:300
      Veteran Member

        I don't know the answer, but did you try creating a test user with the same character in the name?



        New Member


        Posts:3
        New Member

          Yeah we tried a new one and also have around 90 other users with the same character at the end. Maybe the problem isn't the character itself and it's only a coincidence. As mentioned before it seems that for some reason for this specific user the username is used in the url instead of the userid, but it's completely unclear why (comparing the database userdata with another user without problems doesn't show differences that would explain this) and without seeing the code that is responsible for this behaviour there is no way for me to understand whats happening.
          You are not authorized to post a reply.

          These Forums are dedicated to discussion of DNN Platform.

          For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

          1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
          2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
          3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          4. No Flaming or Trolling.
          5. No Profanity, Racism, or Prejudice.
          6. Site Moderators have the final word on approving / removing a thread or post or comment.
          7. English language posting only, please.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved