New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 685750 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug-Security


Show other hotlists

Hotlists containing this issue:
EnamelAndFriendsFixIt


Sign in to add a comment

Security: RTL characters are not handled properly in extension permission patterns

Project Member Reported by mea...@chromium.org, Jan 26 2017

Issue description

If an extension embeds an RTL start character in its host permission patterns, the host names are displayed reverse. Ideally, each host name should be rendered properly regardless of any other strings in the list.

The relevant parts of the manifest for the attached screenshot is as follows:

{
  "name": "\u202emoc.elgoog",
  ...
  "permissions": [
    "http://0\u202e/*", "http://google.com/*", "http://facebook.com/*"
  ],
  ...
}
 
extension_with_rtl_name.zip
1.1 KB Download
rtl_permissions.png
17.9 KB View Download
Project Member

Comment 1 by sheriffbot@chromium.org, Jan 27 2017

Labels: Pri-2

Comment 2 by mea...@chromium.org, Apr 19 2017

Components: UI>Internationalization>RTL

Comment 3 by mea...@chromium.org, Apr 19 2017

Cc: groby@chromium.org

Comment 4 by mea...@chromium.org, Apr 21 2017

Cc: mgiuca@chromium.org

Comment 5 by est...@chromium.org, Nov 10 2017

Labels: Hotlist-EnamelAndFriendsFixIt
Cc: catmulli...@chromium.org
Cc: -catmulli...@chromium.org

Comment 8 by awhalley@google.com, Feb 14 2018

Owner: catmulli...@chromium.org
Hi catmullings@ - do you know if this is covered by your recent RTL work in  issue 685747 ?

Comment 9 by mgiuca@chromium.org, Feb 14 2018

Cc: catmulli...@chromium.org
Owner: mea...@chromium.org
Catherine is no longer on Chromium any more, so she probably won't be reading chromium.org mail.

I reviewed the CL. It certainly fixed this *type* of issue, but I'm not sure if it applies to the text fields in question. If it does not, it's easy to fix now because she added a new function base::i18n::EnsureTerminatedDirectionalFormatting. Ideally this should be called on all user-supplied strings before being embedded inside any other string that gets displayed in UI.

Assigning back to meacer@ to look into whether it's fixed.
Status: Fixed (was: Available)
It's fixed, at least in the permission dialog. The "Details" dialog seems no more so I can't verify it.
Project Member

Comment 11 by sheriffbot@chromium.org, Feb 15 2018

Labels: -Restrict-View-SecurityTeam Restrict-View-SecurityNotify
Project Member

Comment 12 by sheriffbot@chromium.org, May 24 2018

Labels: -Restrict-View-SecurityNotify allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment