Flyspray - The bug killer!

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Information
  • Category Backend/Core
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 1.0-rc9
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Cem Guerkan - 04.11.2019
Last edited by peterdd - 05.11.2019

FS#2582 - How to reach internal windows share (was: Internal URL)

I have installed flyspray on an internal server and have problems with the renaming of internal links.

For example:
I want to put this link in the comment section.
\\192.168.200.5\Folder\example.docx

it shows the link correct,
but when you hover over the link it shows:
file://192.168.200.5/Folder/example.docx

And on clicking on it, of course I can´t access the file, because it´s trying to open an external link.
I dont want it to be renamed from ‘\’ to ‘/’.

Can somebody help me please.

I tryed to find it in the sourcecodes, but I have almost no experience in PHP.

Thank you!

Project Manager
peterdd commented on 05.11.2019 10:29

You want to link to a windows share?

And all your internal users are in the same local network and use Internet Explorer, right?

Other browsers by default maybe do not accept such links.

There is still a little bug within Flyspray's dokuwiki that generated 2 links using the

[[ ]]

dokuwiki syntax and shows an empty js alert on other web browsers for windowssharelinks due not handling the nosmblink-translation right. It still tries to detect internet explorer by javascript checking for document.all , but that browser detection might not work correctly anymore.

See https://github.com/Flyspray/flyspray/blob/10b5e04cbf3627ec638cfe5ebb061503b785fc50/plugins/dokuwiki/inc/parser/xhtml.php#L644

I try to dig into this as official dokuwiki has some changes there. But I'm not sitting in a windows-environment with winshares to test.

If linking to internal winshares is too limited, maybe other workflows are possible? What is the current workflow/requirement? Is the linked document finished or seldom updated? Then maybe you could add the file as Flyspray attachment?

Cem Guerkan commented on 05.11.2019 12:43

Thank you very much peterdd !!!

That will help me a lot.

I´m using normally opera or firefox.

I´ll try to find a way. If nothing helps, attachements will be my last option.

My Problem is too many files, folders and versions :-(

Need to clean up a little bit.

I´ll give you a feedback a soon as I solved my problem.

Thank you again! Have a nice day!

Project Manager
peterdd commented on 05.11.2019 14:05

I googled 'link to windows share' and this wild discussion from 2011-2019 gives a taste of that delicate problem:

https://community.atlassian.com/t5/Confluence-questions/Confluence-How-to-place-a-link-to-a-file-on-a-server-share-in-a/qaq-p/258790

What happens if you insert your link directly in the address bar of your browser?

like this - with 5 forward '/'

file://///mylocal/network/share

This might work, but sure is harder by having the link in a web page. Maybe by web browser setting modification. Also have in mind that ad blockers in browser or similiar stuff could block such links too.
Maybe a way to teach the browser to whitelist that links if it is on your local flyspray install and not just any website…

Other option could be a local ftp server or apache webserver on that machine with the windows share with enabled directory index.

webdav comes also in my mind, but never tried and dont know if that would solve your problem.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing