View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004508SOGoWeb Mailpublic2018-07-11 11:362018-07-11 14:11
Assigned Tofrancis 
Platform[Server] LinuxOSUbuntuOS Version16.04 LTS
Product Version4.0.1 
Target VersionFixed in Version4.0.2 
Summary0004508: Webmail search text box: weird issue with default URL "unsafe:javascript:void(0)"
DescriptionWeb mail search box displays a text at magnifying glass right side.
This text always displays the selected folder name.

If a user click this text then she/he can introduce a text to look for.

Up SOGo 4.0.0 version this text had associated the URL "javascript:void(0)".

SOGo 4.0.1 version has associated the URL "unsafe:javascript:void(0)" at this text and a weird issue appears depending the web browser used when a user clicks on the text :

- Firefox 61 (Win10) and Firefox 54 (Ubuntu 14.04): web browser tries to open "unsafe:javascript:void(0)" and it loads a blank window with this error message:

"The address wasn’t understood.
Firefox doesn’t know how to open this address, because one of the following protocols (unsafe) isn’t associated with any program or is not allowed in this context.
You might need to install other software to open this address."

- Chrome 64.0.3282.186 (64 bits) (Ubuntu14.03): web browser displays a dialog box:
            "Do you want to open xdg-open?"

- Chrome with Windows 10: it works, no issue.

Users could search without issues if they only click in magnifying glass icon and then enter a text to look for.

Steps To ReproduceUse Firefox broswer or Chrome for Ubuntu 14.04, click on text message at magnifying glass right side.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Related Changesets
sogo: master 05e033cc
Timestamp: 2018-07-11 14:00:54
Author: francis
Details ] Diff ]
(js) Fix unsafe JS links

Fixes 0004508
mod - UI/Templates/ContactsUI/UIxContactFoldersView.wox Diff ] File ]
mod - UI/Templates/MailerUI/UIxMailFolderTemplate.wox Diff ] File ]
mod - UI/WebServerResources/js/Contacts/AddressBookController.js Diff ] File ]
mod - UI/WebServerResources/js/Mailer/MailboxController.js Diff ] File ]

- Issue History
Date Modified Username Field Change
2018-07-11 11:36 ASolana New Issue
2018-07-11 14:04 francis Changeset attached => sogo master 05e033cc
2018-07-11 14:04 francis Assigned To => francis
2018-07-11 14:04 francis Resolution open => fixed
2018-07-11 14:11 francis Status new => resolved
2018-07-11 14:11 francis Fixed in Version => 4.0.2

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker