Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a server setup where the editing servers (http://www1.mysite.com) sit behind varnish cache servers which then present content to the end users at http://www.mysite.com.
When I turned on the CKEditor Link Filter in the Text Format that I'm using, the relative URLs to files in the file system are converted to full/absolute URLs (http://www1.mysite.com/file.pdf) and cached. This is what anonymous site visitors end up seeing as the link which should NOT be the case.
Can we fix so that the CKEditor Link Filter keep paths to files in the file system as relative?
Comment | File | Size | Author |
---|---|---|---|
#3 | ckeditor_link_file_path-1585456-3.patch | 507 bytes | anrikun |
Comments
Comment #1
anrikun CreditAttribution: anrikun commentedTry the latest dev and tell me if it changes something.
Comment #2
nmc CreditAttribution: nmc commentedTested with latest dev and problem still persists. Links to files still converted to full URLs and cached.
Comment #3
anrikun CreditAttribution: anrikun commentedPlease try the attached patch and confirm that it works.
Comment #4
anrikun CreditAttribution: anrikun commentedComment #5
nmc CreditAttribution: nmc commentedWow. Thanks for the quick turnaround. That patch seems to have fixed it.
Comment #6
anrikun CreditAttribution: anrikun commentedAll right, this is now fixed in 7.x-2.x-dev. Thanks for reporting.
Comment #7
anrikun CreditAttribution: anrikun commentedFixed in 6.x-2.x-dev too.
Comment #8
cwdee CreditAttribution: cwdee commentedAny idea when this might make it into a recommended release?