6 Replies Latest reply on Dec 2, 2016 4:51 AM by carlesc RSS
    jhernández Newbie

    Redirect_URL should admit an url?

    Hi all,

     

    We're trying to redirect the user to an URL (<REDIRECT_URL>) when performing a logout:


    http://localhost:8080/Thingworx/Server/*/Services/Logout?method=post&_redirectURL=<REDIRECT_URL>

     

    We've spotted that redirect is not performed whether <REDIRECT_URL> contains :, ? and/or ?. It's not possible, for example, to redirect to http://www.ptc.com

    Log entry we get from Thingworx is:

     

    016-12-01 21:50:12.806+0100 [L: ERROR] [O: E.c.t.s.f.ValidatingHttpRequest] [I: ] [U: Administrator] [S: ] [T: http-nio-8080-exec-4] Error occurred while validating HTTP parameter: _redirectURL

     

    According to the documentation and other threads (like https://community.thingworx.com/message/6101#6101) it should be possible, but we were not able to achieve it.


    Any ideas/suggestions?


    Thanks,



    Josemi