diff options
author | Markus Roberts <Markus@reality.com> | 2009-11-19 22:11:49 -0800 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-11-21 13:35:27 +1100 |
commit | 53b3b86681e3c56f8455e5d8458b4ea900a50406 (patch) | |
tree | 82b75c5e1672325bb4273fd7b11d3304a1c32383 /test | |
parent | 8129caabdab73fca8b4b8de0ecafe4c0dd31cc95 (diff) | |
download | puppet-53b3b86681e3c56f8455e5d8458b4ea900a50406.tar.gz puppet-53b3b86681e3c56f8455e5d8458b4ea900a50406.tar.xz puppet-53b3b86681e3c56f8455e5d8458b4ea900a50406.zip |
Fix for ticket #2844 (file recursion generated vs. explicit prefix)
The routine which was determining if one path was a prefix of another
in arbitrating between explicit and generated resources was using the
raw string for the test without regard to path segments and thus could
be fooled by pairs such as "/tmp/foo" vs. "/tmp/foo2"
Fix was to be path delimiter aware and add a test.
Signed-off-by: Markus Roberts <Markus@reality.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions