[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44682] Fullfile does not support network shar
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses |
Date: |
Mon, 25 May 2015 08:36:14 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33 |
Follow-up Comment #18, bug #44682 (project octave):
(picking up again)
@Rik:
The OP's suggestion is a bit too simple as even on Windows, UNC file path
constructs should have a first part of the form '\\server\sharename', at the
very least ~ '\\a\b'. Also some tests have to be adapted.
So, should we include a check for valid UNC full filenames, incl. a
warning/error message, or let valid filenames be the responsibility of the
user?
In case of the former a fairly simple regexp would do but then I'd also check
for valid characters in at least 'server' and 'share', something like:
! isempty (regexp (filename, '\\\\[^<>:"/\\|\?\*]+\\[^<>:"/\\|\?\*]+.*',
"match"))
In the latter case even '\\' would be a possible result of fullfile.m.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44682>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, Rik, 2015/05/20
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, Philip Nienhuis, 2015/05/21
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, Rik, 2015/05/21
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, anonymous, 2015/05/25
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, Rik, 2015/05/25
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, Philip Nienhuis, 2015/05/25
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, Philip Nienhuis, 2015/05/25
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, Philip Nienhuis, 2015/05/25
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, Philip Nienhuis, 2015/05/25
- [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses, Rik, 2015/05/31