Page MenuHomePhorge

D25320.1737239369.diff
No OneTemporary

D25320.1737239369.diff

diff --git a/webroot/rsrc/js/application/diffusion/DiffusionLocateFileSource.js b/webroot/rsrc/js/application/diffusion/DiffusionLocateFileSource.js
--- a/webroot/rsrc/js/application/diffusion/DiffusionLocateFileSource.js
+++ b/webroot/rsrc/js/application/diffusion/DiffusionLocateFileSource.js
@@ -99,6 +99,10 @@
return [];
}
+ // Be nice with terminal users that may have "./" or "/" prefixes.
+ // Otherwise, not a single result is returned.
+ search = search.replace(/^\.?\//, '');
+
// We know that the results for "abc" are always a subset of the results
// for "a" and "ab" -- and there's a good chance we already computed
// those result sets. Find the longest cached result which is a prefix

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 18, 22:29 (10 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114221
Default Alt Text
D25320.1737239369.diff (756 B)

Event Timeline