Fixed correct url base analysis to support any nesting level internal web-applications