Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Customize Share File Link Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
zomebodi
Newbie
Newbie
Avatar

Joined: 12 August 2025
Location: Chile
Online Status: Offline
Posts: 1
Posted: 12 August 2025 at 10:22pm | IP Logged Quote zomebodi

Is there a way (modifing some php files) to change the domain url on the shared link (when sharing a file on personal files) ??.
Back to Top View zomebodi's Profile Search for other posts by zomebodi
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6161
Posted: 13 August 2025 at 12:24am | IP Logged Quote Igor

I'm afraid there's no easy way to achieve that. If you look at the data returned by the PHP backend - which can be done in browser's console - the link doesn't contain the hostname part and looks like this:

Code:
{
    "AuthenticatedUserId": 1,
    "@Time": "0.0588",
    "Module": "OpenPgpFilesWebclient",
    "Method": "CreatePublicLink",
    "Result": {
        "link": "?\/files-pub\/IO4fJbjjQ0\/list"
    },
    "SubscriptionsResult": null,
    "@TimeApiInit": "0.0350"
}


Apparently, JavaScript code creates the actual URL to display it.

--
Regards,
Igor, Afterlogic
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide