ReturnUrl not prepending site name when resolving links to CFS files

Running version 12.0.2.17146

Custom plug-in created following  Single Sign-On Plugins 

When an email with an attachment goes out, the attachment URL follows the pattern:

https://sitename.com/cfs-file/__key/telligent-evolution-components-attachments/{Folderpath}/{filename}

This gets passed into an SSO login as a ReturnUrl parameter that starts at the /cfs-file/ portion of the URL and does not include the site name like every other link on the site which causes SSO to fail to return to the correct place.

Is there a setting somewhere to force the CFS to include the site name in the ReturnUrl parameter?

Is it possible to intercept the ReturnUrl and inject that in the plug-in code?



Removed
 tag
[edited by: starksk at 8:36 PM (GMT 0) on Thu, Jan 13 2022]

Parents
  • Former Member
    0 Former Member

    Hi

    by which module if we are sharing any attachment so we can get shared attachment URL pattern which is shared above

     I need to find that module by which I can get this attachment URL pattern which you shared above because there is one file which was shared in above /cfs-file/__key folder path by some user & I am not able to get the root cause that how can he able to do that or by which module.

    Please help.

Reply
  • Former Member
    0 Former Member

    Hi

    by which module if we are sharing any attachment so we can get shared attachment URL pattern which is shared above

     I need to find that module by which I can get this attachment URL pattern which you shared above because there is one file which was shared in above /cfs-file/__key folder path by some user & I am not able to get the root cause that how can he able to do that or by which module.

    Please help.

Children
  • Hi  

    The URL pattern in this thread is from an attachment to a blog post using the insert image/video/file option from the editor. The same URL pattern is followed for most applications with some tweaks around "telligent-evolution-components-attachments" as to the exact folder on the server based on the application.

    I see you've asked this question here:  Need to get module for an attachment goes out the attachment URL described in body which I think is a better opportunity to describe exactly what you are looking to accomplish.

  • Former Member
    0 Former Member in reply to starksk

    Hi starksk,

    Yes I am asking that question, because there is one folder (telligent-evolution-components-attachments) in server & I tried to generate same url pattern with blog post attachment using the insert image/video/file option from the editor but this time I found different url which is below 

    https://community.dynamics.com/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-15-44/....

    but previously it was different like below url

    https://community.dynamics.com/cfs-file/__key/telligent-evolution-components-attachments/00-35-00-00-00-11-16-96/....

    So can you please explain why I get different path.

    Thanks