https://bugs.documentfoundation.org/show_bug.cgi?id=101629

Yousuf Philips (jay) <philip...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|regression                  |
                 CC|                            |susobhan...@gmail.com
            Summary|Crash on Personalization    |Firefox themes dialog
                   |Own theme                   |doesnt handle invalid urls
                   |                            |and search strings

--- Comment #13 from Yousuf Philips (jay) <philip...@hotmail.com> ---
The fixed should be something like this

if ( searchTerm.startsWith( "https://"; ) OR searchTerm.startsWith( "http://"; )
) {
   if ( searchTerm.startsWith(
"https://addons.mozilla.org/en-US/firefox/addon/"; ) {
      { download and install searchTerm theme }
   } else {
      { show error message and return to dialog }
   }
} else {
   { strip away unnecessary characters from searchTerm and then query }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to