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.
Is there any way to get a link to a networked file using this module?
I'm talking about the \\server\folder\file.txt type that you can open in a browser using file://
Thanks
Comments
Comment #1
jcfiala CreditAttribution: jcfiala commentedI don't have a copy of the module open to test, but have you tried entering the path including the file:// header?
Comment #2
jfha73 CreditAttribution: jfha73 commentedYes I have, but it still says is not a valid URL, I even checked the link.module file and it has this line:
I tried adding file to it, but still the same.
Comment #3
jfha73 CreditAttribution: jfha73 commentedThe only thing with file is that for this particular type of path, the URL will look something like this:
file://///server/folder/file.txt
And I don't know if 5 '/' is too much for this module.
Comment #4
jcfiala CreditAttribution: jcfiala commentedIt's been four years since this bug, and no one's touched it. If you need to you can re-open this ticket, but I suspect you don't need this fixed anymore.
Also, to add the file protocol to the list of protocols, use $conf['filter_allowed_protocols'] to override the value of the filter_allowed_protocols variable.