Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix resources 267 #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

orenyosifon
Copy link

a small inquiery should that the method evaluates 'this' and 'base' actually tries to work when actually 'this' IS 'base'
adding this condition at the beginning of the method fixes things:
if (base.is(this))
{ return actualUrl }
Also,
the method getActualUrlParent has a problem:
when evaluating apath starting with a slash (like '/mydir') it will return the complete string as a parent. this is due to the fact that the slash index is 0, and the substring 0..-1 means 'entire string' in groovy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants