Incorrect URL detection (final slash)
See original GitHub issueExpected behaviour
URLs automatically converted to links can include a final slash part of the URL.
Actual behaviour
If the URL contains a final slash, the link generated ignores it, breaking some links:
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: 8bit
<a href="http://google.com">http://google.com</a>/<br>
Steps to reproduce
- Select HTML format in the settings
- Send a new mail with the following content:
http://google.com
Environment
K-9 Mail version: 5.008
Android version: 6.0
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Incorrect URL detection (final slash) · Issue #1223 - GitHub
A bug in the HtmlConverter. Confirmed and found exact behaviour using a unit test: If a link is followed by a new line...
Read more >When should I use a trailing slash in my URL? - Stack Overflow
No trailing slash is helpful for working with relative sub-paths AND also trailing slash is improper when the url denotes a resource.
Read more >To slash or not to slash | Google Search Central Blog
Historically, it's common for URLs with a trailing slash to indicate a directory, and those without a trailing slash to denote a file:....
Read more >Trailing slashes and SEO | SiteGuru
Trailing slashes, used incorrectly, can damage your SEO activities. This article explains how to make the right set-up and avoid SEO damage.
Read more >MALICIOUS URL DETECTION WITH MACHINE LEARNING
URLs allow Internet users to navigate from one website to another. They comprehensively represent access to content that it is stored in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is already a promising PR for this, see #2392
I’m new to Open Source, and I’d like to work on this issue!