The value of query q is reserved by ResourceManger for sub assets uri path. Invalid query q will let ResourceManger find an not exist resource, then an never resolve promise is produced.
ResourceManger should validate query q before find sub assets.
ResourceManger should throw an error if failed to find sub assets instead of leaving an unresolved promise.
Bug description
below snippets will not resolve
Solution
The value of query
q
is reserved byResourceManger
for sub assets uri path. Invalid query q will letResourceManger
find an not exist resource, then an never resolve promise is produced.ResourceManger
should validate queryq
before find sub assets.ResourceManger
should throw an error if failed to find sub assets instead of leaving an unresolved promise.