Skip to main content
Participant
Jun 14, 2023 4:27 PM UTC
Question

hyper link issue in coldfusion 2023 PDF

Hi,

 I am in the process migrating CF 2018 to CF 2023, one issue I notice is in 2018 the PDF created is same as the html regarding hyper link, for example, this html: <a href="/temp/getfile.cfm">

 

but with CF 2023, the PDF add the context path to the above link, so when user click the link in PDF, it actually go to:

http://myserver.com/myapp/temp/getfile.cfm

CF 2018: http://myserver.com/temp/getfile.cfm

Is it a way to configure CF 2023 not to add the context path "myapp" in PDF ?

this is using cfdocument tag.

Thanks.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Community Expert
    Jun 14, 2023 4:40 PM UTC

    When you installed CF 2023, how exactly did you install it? It seems to me that if you actually have a context path, you'd want that to be used as part of the link, but that most installs won't have a context path other than "/".

     

    Dave Watts, Eidolon LLC

    Translate
    Dave Watts, Eidolon LLC
    Participant
    Jun 14, 2023 4:48 PM UTC

    the hyper link needs to point to different context path.

    CF 2018 did that correctly without adding current context path.

    Translate
    Community Expert
    Jun 14, 2023 8:13 PM UTC

    In that case, I suggest you open a ticket with Adobe at https://tracker.adobe.com/. At least, I think that's the right URL.

     

    Dave Watts, Eidolon LLC

    Translate
    Dave Watts, Eidolon LLC