-
Notifications
You must be signed in to change notification settings - Fork 14
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
the method getResource should have issue on line 164 #23
Comments
Hi, Kind regards, |
yes. I did. still got that issue.... |
This error can be easily reproduced with @Test
public void testNoPrefix() {
EhcacheShiroManager cacheManager = new EhcacheShiroManager();
cacheManager.setCacheManagerConfigFile("file:config/ehcache.xml");
Cache<Object, Object> someCache = cacheManager.getCache("someCache");
assertNotNull(someCache);
}
} I think the correct code should mimic |
I can see the fix in the code, where this was changed:
to this:
@nenko-tabakov can you please release the fix? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I just tried use the library for my project.
but I found there is a issue in method getResource in class EhcacheShiroManager
the line 164. I found the code always strip the prefix. but when we put the path into. the code use a url for it.
then it always throws a MalformedURLException, and Caused by: java.net.MalformedURLException: no protocol:
I suppose this is a bug for this code.
thanks
Mike
The text was updated successfully, but these errors were encountered: