-
Notifications
You must be signed in to change notification settings - Fork 109
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
Bug: Basic auth is not working for domain subdirectories? #32
Comments
Can you try to simply add a trailing / to the URL? http://user:[email protected]/subdirectory/ Can you also tell me which version of FXLauncher you are using? |
ok, i´ve found the solution: the configuration must be http://user:[email protected]/subdirectory**/** sorry for any circumstances. (now i got server 401 although the creditials works in the browser, but thats another issue) |
What version of FXLauncher are you using? |
And can you possibly send me the URL with a working username and password so I can try it? |
I´m using version 1.0.13 |
Great. I have found the error and I'm working on it now :) |
ok, i guess you don´t need the user/pass anymore?! |
Probably not :) Hang on! |
I have committed a fix for this is 1.0.14-SNAPSHOT. Do you know how to build from source and try this? |
Attached is version 1.0.14-SNAPSHOT with the fix (unzip to get the jar, unable to upload jars directly to GitHub). You can install it into your local Maven repo like this: mvn install:install-file -Dfile=fxlauncher-1.0.14-SNAPSHOT -Dversion=1.0.14-SNAPSHOT -Dpackaging=jar -DgroupId=no.tornado -DartifactId=fxlauncher After that you should be able to update to version 10.0.14-SNAPSHOT in your project, do a clean build and try it. Let me know how it goes, OK? :) |
yes i can check it out and build a snapshot, thanks |
Perfect, thank you! I need to get to bed now. If it works I'll release 1.0.14 tomorrow after doing some more quality tests, it's getting late here in Norway :) |
the snapshot version 1.0.14 is working great! thanks and good night |
Version 1.0.14 is now in Maven Central. Thank you for the bug report and your patience. |
Basic auth is not working properly for subdirectories, i.e. if the files are stored in: host.de/subdirectory
Maven App URL configuration;
<app.url>http://user:[email protected]/subdirectory</app.url>
=> With this configuration, an exception occurs: FileNotFoundException: http://user:[email protected]/someJar.jar
It seems that the subdirectory is ignored.
I´ve found out that there is a workaround by extending the maven <app.url> configuration
<app.url>http://user:[email protected]/subdirectory/**any_string_workaround**</app.url>
=> Now the path host.de/subdirectory seems to be resolved correctly
The text was updated successfully, but these errors were encountered: