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

Proposition for fixing issue #10 #11

Merged
merged 3 commits into from
Jul 18, 2016
Merged

Conversation

zerikv
Copy link
Contributor

@zerikv zerikv commented Jul 11, 2016

After the upgrade of "Overthere" to 4.3.2 which depends of "Scannit" 1.4.0 the opening of a connection throws the following exception :
IllegalArgumentException: Unknown connection protocol cifs at com.xebialabs.overthere.Overthere.getConnection(Overthere.java:103)
The application is deployed in Tomcat 8, this problem is describe in the issue #10.

The method urI.getSchemeSpecificPart() returns for example:
file:/E:/eclipse-workspaces/mars2/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/CARLAdminWar/WEB-INF/lib/overthere-4.3.2-carl-1.jar!/com/xebialabs/

Since the local variable path contains com/xebialabs, the based variable is invalid (its ended by !/c).

Eric.VERNIER added 2 commits July 11, 2016 19:01
For building the URI test the presence of the trailing slash which can be
returned by the class loader of Tomcat 8.
@hierynomus
Copy link
Owner

Hi Eric,

Could you add a unit test that triggers this fix?

Thx!

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