[Libreoffice-bugs] [Bug 146754] Inserting a hyperlink without scheme and with port creates an invalid URL

2022-01-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146754

Mike Kaganski  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |mikekagan...@hotmail.com
   |desktop.org |
 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146754] Inserting a hyperlink without scheme and with port creates an invalid URL

2022-01-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146754

--- Comment #1 from Stephan Bergmann  ---
(In reply to Mike Kaganski from comment #0)
> IMO, we need to consider bSmart when trying to detect unknown schemes. There
> may be different approaches, the easiest would be to always use
> m_eSmartScheme when bSmart is true and m_eSmartScheme is not
> INetProtocol::NotValid; a more strict check could be that the next character
> after the found colon is a digit; and even stricter check could be that the
> sequence of characters after the colon till the end of URL/forward
> slash/query separator/fragment separator only consists of digits.
[...]
> Stephan: what do you think?

Yes, some check that it is a mostly-valid URL starting with host:port and
missing scheme:// prefix sounds good for the bSmart case.

-- 
You are receiving this mail because:
You are the assignee for the bug.