[Slim-Checkins] r33838 - /7.7/trunk/server/Slim/Web/Template/NoWeb.pm
[email protected] Wed, 15 Feb 2012 05:36:48 -0000
| Newsgroups | gmane.music.equipment.slimdevices.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mherger
Date: Tue Feb 14 21:36:47 2012
New Revision: 33838
URL: http://svn.slimdevices.com/slim?rev=33838&view=rev
Log:
Bug: 17841
Description: match the base path at the start of the requested URL.
Modified:
7.7/trunk/server/Slim/Web/Template/NoWeb.pm
Modified: 7.7/trunk/server/Slim/Web/Template/NoWeb.pm
URL: http://svn.slimdevices.com/slim/7.7/trunk/server/Slim/Web/Template/NoWeb.pm?rev=33838&r1=33837&r2=33838&view=diff
==============================================================================
--- 7.7/trunk/server/Slim/Web/Template/NoWeb.pm (original)
+++ 7.7/trunk/server/Slim/Web/Template/NoWeb.pm Tue Feb 14 21:36:47 2012
@@ -179,7 +179,7 @@
$found = Cwd::abs_path($found);
# reset path if it's outside the skin path ($dir)
- if ($found !~ m|$dir|) {
+ if ($found !~ m|^$dir|) {
$found = '';
}
}