Request Resource resolver resolve is not working
We are using AEM 6.5.14. The map and reverse map is properly configured. From /system/console/jcrresolver the resolve and map is working fine.
But from code we can not get the full path from domain. In short request.getResourceResolver().resolve("http://local.---world.com").getPath() is not returning the full path.
THE MAP

FROM /system/console/jcrresolver

FROM code map is working

BUT from code resolve is not working

What could be the possible solution?????
