-
Notifications
You must be signed in to change notification settings - Fork 19
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
support other formats of URLs #12
Comments
Neither of those examples are valid URLs and therefore are open to misinterpretation and alternative expectations from other users. I think that the user should be informed that these URLs were not correct and therefore have the opportunity to modify their KeePass entry to a valid URL. Specifically: |
Example 1: URLs within an html document are advised to be written like this to work for http and https the same way with avoiding the "insecure content" warning. It IS VALID according RFC 3986 within websites (http://stackoverflow.com/a/550073). So when a link like this is detected in the html source code it should be correctly handled! |
Thanks, On 5 October 2014 20:26, darkdragon-001 [email protected] wrote:
|
|
OK, I thought you were asking for support in terms of the URL stored in On 5 October 2014 20:41, darkdragon-001 [email protected] wrote:
|
It looks like enabling // protocol relative favicon links is going to be possible but I won't have time to look at it until at least next year. In the mean time, please can you supply a few examples of where this happens since I've not come across it myself yet and need some test cases before starting to implement the feature. Thanks, |
Okay, thanks! And also currently when you only specify the domain and not the url (e.g. "example.com") it tries out to put http:// before. maybe you should try out http and https then ;) I will look for some test cases or otherwise create them. |
Yeah it might be worth trying https first and then http. Although I would expect most sites to send redirects to their canonical protocol so hopefully there aren't many examples of this causing a problem in the real world since we have followed redirects for quite a while now. |
i think most of them use http so, https could be just a fallback. otherwise there are many more ways nowadays to specify favicons including dimensions, formats, etc. |
I thought about this again: Did you have time to look into this issue? |
I'm afraid not yet. If you want to submit a PR I'll take a look though. |
@darkdragon-001 I've been looking at making a new release soon and since I'm now primarily using Linux rather than Windows, that's a bit of a blocker since I doubt I'll have time to re-work everything from the current master into a state that I can build without Visual Studio. From the looks of it, you have a working fork that has already solved this problem (and some others too if my brief look over your commit titles are anything to go by). Do you think your fork is in or close to being in a state where you could put in a PR to the master branch in this repo? Being completely ignorant of what's required to build deb files and/or any type of linux package publishing, how would you see that working if I accept a PR containing your changes? I can obviously add you as a collaborator on this repo if that'll make things easier? Edit: I meant to put this comment on #11 but in any case, I suspect if we are going to proceed with a PR, we'll rapidly move the discussion to somewhere specific anyway rather than an old issue. |
@luckyrat Sorry for the delay, but I send you an email to discuss the details! |
@luckyrat Any news? I am using my changes daily since end of April in Ubuntu without any problems! |
It would be nice when you also handle the following URLs correctly:
//example.com -> this syntax is used when you don't want to specify protocol (try http: and https:)
.example.com -> still try to go there (wildcard redirects like *.example.com should still match this pattern)
The text was updated successfully, but these errors were encountered: