diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-05-30 16:03:12 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-05-30 16:03:12 +0200 |
commit | 9ad9d1f3b3a5e6d1440a0f8d38e1b3246e00412d (patch) | |
tree | 949cdc058de52f706d3f0fffe755969c76affe2e /doc | |
parent | 7310c84367ad336f3c58253f7adea6ba21e24b91 (diff) |
Don't localize paths that contain but are not in the resource path
This issue could be triggered if you try to access a path which contains
the resource path string in its absolute path, while pointing to a directory
which is *not* in the resource path.
It's clearer with an example: with `/my/project` as resource path, the
previous logic would also localize `/my/project_data` to `res://data`, which
is incorrect and would lead to a cryptic error.
Fixes #24761.
Co-authored-by: volzhs <volzhs@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions