Re: Issue 419755 in chromium: Registered Protocol Handlers policy setting not showing up as set on Chrome

500 views
Skip to first unread message

chro...@googlecode.com

unread,
Oct 8, 2014, 4:26:54 AM10/8/14
to chromi...@chromium.org
Updates:
Status: Available
Owner: kaliamoo...@chromium.org
Labels: Enterprise-Triaged

Comment #1 on issue 419755 by pasta...@chromium.org: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

Prabhu, you have been working on this policy recently can you chime in on
this request?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Oct 8, 2014, 7:55:02 AM10/8/14
to chromi...@chromium.org

Comment #2 on issue 419755 by kaliamoo...@google.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

There are some issues with the GPO templates for this policy. The policy
templates would be updated soon. You could setup the registry directly in
the windows registry location described in
http://www.chromium.org/administrators/policy-list-3#RegisteredProtocolHandlers.
The policy is JSON valued (list of dictionaries). So multiple handlers
could be setup as below

[{"url": "...", "protocol": "..."}, {"url": "...", "protocol": "..."}]

chro...@googlecode.com

unread,
Oct 10, 2014, 1:22:51 PM10/10/14
to chromi...@chromium.org

Comment #3 on issue 419755 by k4ri...@gmail.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

Hello,

V: Version 38.0.2125.101 m
Using Group policy settings: Yes

I'm getting the following error under status when applying the default
handler for gmail under chrome://policy:

Schema validation error at "items[0].default": The value type doesn't match
the schema type

I copy/pasted the default policy JSON string from the policy list article:
http://www.chromium.org/administrators/policy-list-3#RegisteredProtocolHandlers

[{"url": "https://mail.google.com/mail/?extsrc=mailto&url=%s", "protocol": "mailto", "default": "true"}]

Thanks.



Attachments:
mailto.png 126 KB

chro...@googlecode.com

unread,
Oct 13, 2014, 3:37:16 PM10/13/14
to chromi...@chromium.org

Comment #6 on issue 419755 by eland...@appirio.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

Your suggestion did not work for me.

I still see this: ( See Attached )

Please assist.

Attachments:
Handlers.png 17.8 KB

chro...@googlecode.com

unread,
Oct 13, 2014, 4:27:29 PM10/13/14
to chromi...@chromium.org

Comment #7 on issue 419755 by kaliamoo...@google.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

Please set
Software\Policies\Chromium\Recommended\RegisteredProtocolHandlers as
described in
http://www.chromium.org/administrators/policy-list-3#RegisteredProtocolHandlers

There are some issues with the GPO templates for this policy. The policy
templates would be updated soon.

chro...@googlecode.com

unread,
Oct 13, 2014, 4:34:29 PM10/13/14
to chromi...@chromium.org

Comment #8 on issue 419755 by eland...@appirio.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

This:

[{"url": "https://mail.google.com/mail/?extsrc=mailto&url=%s", "default": "true", "protocol": "mailto"}]

Doesn't work either.

chro...@googlecode.com

unread,
Oct 14, 2014, 1:56:39 AM10/14/14
to chromi...@chromium.org

Comment #9 on issue 419755 by kaliamoo...@google.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

It should be "default": true. Setting "default": "true" would not work.
I'll change the document to include this.

chro...@googlecode.com

unread,
Oct 14, 2014, 6:00:59 AM10/14/14
to chromi...@chromium.org

Comment #10 on issue 419755 by bugdro...@chromium.org: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755#c10

The following revision refers to this bug:

https://chromium.googlesource.com/chromium/src.git/+/a639a5217132e6dcfb8b892e3878d7d32d9e4750

commit a639a5217132e6dcfb8b892e3878d7d32d9e4750
Author: kaliamoorthi <kaliam...@chromium.org>
Date: Tue Oct 14 09:46:38 2014

Fix documentation in policy templates

Fix documentation of RegisteredProtocolHandlers policy in policy_templates

BUG=419755

Review URL: https://codereview.chromium.org/658513002

Cr-Commit-Position: refs/heads/master@{#299452}

[modify]
https://chromium.googlesource.com/chromium/src.git/+/a639a5217132e6dcfb8b892e3878d7d32d9e4750/components/policy/resources/policy_templates.json

chro...@googlecode.com

unread,
Oct 14, 2014, 11:31:49 AM10/14/14
to chromi...@chromium.org

Comment #11 on issue 419755 by eland...@appirio.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

Please see my prior attachment.

What is needed to get this to work correctly?







*Eric LandrumGoogle ConsultantConcur Implementation Project
Manager Appirio, Inc.760 Market Street, 11th Floor, San Francisco, CA
94102Office: 859.429.1775 | Mobile: 859.462.6127 | elan...@appirio.com
<elan...@appirio.com>www.appirio.com
<http://www.google.com/url?q=http%3A%2F%2Fwww.appirio.com&sa=D&sntz=1&usg=AFrqEzclQDiO-k4QItergakTP00assp-lw>
|
Cloud Powered Business Blog: blog.appirio.com
<http://www.google.com/url?q=http%3A%2F%2Fblog.appirio.com&sa=D&sntz=1&usg=AFrqEzcdIkP6aT1p6ggleZMQIZnobCCM_w>
|
twitter: twitter.com/appirio
<http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Fappirio&sa=D&sntz=1&usg=AFrqEzdLJSaQyZ0Wd82Yxcum-XHGNMsAfw>
[image:
Inline image 2] <http://go.appirio.com/promo>*

chro...@googlecode.com

unread,
Oct 14, 2014, 11:47:49 AM10/14/14
to chromi...@chromium.org

Comment #12 on issue 419755 by prabhuka...@gmail.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

There are two issues at play here.

1) You should set the registry key in
Software\Policies\Chromium\Recommended\RegisteredProtocolHandlers rather
than Software\Policies\Chromium\RegisteredProtocolHandlers

2) It should be "default": true rather than "default": "true".

The one shown in Handlers.png you made the first mistake. If these two are
fixed, it should work. If you still have problems please share a snapshot.

chro...@googlecode.com

unread,
Oct 14, 2014, 11:56:55 AM10/14/14
to chromi...@chromium.org

Comment #13 on issue 419755 by kaliamoo...@google.com: Registered Protocol

chro...@googlecode.com

unread,
Oct 22, 2014, 6:17:52 AM10/22/14
to chromi...@chromium.org
Updates:
Labels: M-39 Merge-Requested

Comment #14 on issue 419755 by kaliamoo...@chromium.org: Registered
Protocol Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

Requesting merge to
https://chromium.googlesource.com/chromium/src.git/+/a639a5217132e6dcfb8b892e3878d7d32d9e4750

It's a small documentation change.

chro...@googlecode.com

unread,
Oct 22, 2014, 6:18:48 AM10/22/14
to chromi...@chromium.org
Updates:
Labels: merge-questions-applied

Comment #15 on issue 419755 by amin...@google.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755#c15


Please note that all merge requests must have been on or rolled into trunk
for at least 24 hours to be considered for merging (to ensure full bot
coverage and give an opportunity for any necessary reverts to occur).

To help facilitate this request, if you could please answer the following:
--------------------------------------------------------------------------
1) Has this change been on trunk for at least 24 hours?

2) Has this change shipped to at least one canary release (where
applicable)?

3) Has anyone verified that these changes resolve the issue and cause no new
crashes (via chromecrash/) or regressions?

4) Why is this necessary for this milestone?

Thanks!

(this message is auto-generated each time the merge-request label is
applied; if you have previously answered these questions kindly disregard)

chro...@googlecode.com

unread,
Oct 22, 2014, 6:36:49 AM10/22/14
to chromi...@chromium.org

Comment #16 on issue 419755 by kaliamoo...@chromium.org: Registered
Protocol Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

1) Yes

2) There is a Dev channel release with the CL.

3) Yes

4) It's a minor documentation change that is raising support questions.

chro...@googlecode.com

unread,
Oct 22, 2014, 11:38:11 AM10/22/14
to chromi...@chromium.org

Comment #17 on issue 419755 by eland...@appirio.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

We still are showing this problem.

We removed the double quotes from TRUE and it states "This Policy Level is
not supported".

chro...@googlecode.com

unread,
Oct 22, 2014, 11:40:12 AM10/22/14
to chromi...@chromium.org

Comment #18 on issue 419755 by kaliamoo...@chromium.org: Registered
Protocol Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

How do you set the policy, using GPO or REGEDIT?

chro...@googlecode.com

unread,
Oct 22, 2014, 11:46:12 AM10/22/14
to chromi...@chromium.org

Comment #19 on issue 419755 by eland...@appirio.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

GPO

Because of these notes found here
http://www.chromium.org/administrators/policy-list-3:

'Starting with Chromium 28, policies are loaded directly from the Group
Policy API on Windows. Policies manually written to the registry will be
ignored."

And

"Starting with Chromium 35, policies are read directly from the registry if
the workstation is joined to an Active Directory domain; otherwise the
policies are read from GPO."

chro...@googlecode.com

unread,
Oct 22, 2014, 11:54:12 AM10/22/14
to chromi...@chromium.org

Comment #20 on issue 419755 by kaliamoo...@chromium.org: Registered
Protocol Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

If it is GPO, there is a fix for
Software\Policies\Chromium\Recommended\RegisteredProtocolHandlers vs
Software\Policies\Chromium\RegisteredProtocolHandlers in GPO. This would be
part of M39 stable release.

chro...@googlecode.com

unread,
Oct 23, 2014, 11:28:00 AM10/23/14
to chromi...@chromium.org
Updates:
Labels: -Merge-Requested Merge-Approved

Comment #21 on issue 419755 by amin...@chromium.org: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

merge approved for m39 branch 2171

chro...@googlecode.com

unread,
Feb 23, 2015, 9:10:01 AM2/23/15
to chromi...@chromium.org

Comment #23 on issue 419755 by eland...@appirio.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

This issue has returned.

chro...@googlecode.com

unread,
Feb 23, 2015, 9:18:59 AM2/23/15
to chromi...@chromium.org

Comment #24 on issue 419755 by kaliamoo...@chromium.org: Registered
Protocol Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

Can you please explain what you mean by this has returned?

chro...@googlecode.com

unread,
Feb 23, 2015, 11:08:01 AM2/23/15
to chromi...@chromium.org

chro...@googlecode.com

unread,
Feb 24, 2015, 4:32:53 AM2/24/15
to chromi...@chromium.org

Comment #27 on issue 419755 by kaliamoo...@chromium.org: Registered
Protocol Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

>> I cannot add handlers via the address bar at: chrome://settings/handlers
That is correct. User is not expected to be able to do this.

>> nor can I find "RegisteredProtocolHandlers" when I search
That is correct too, the entry should be created by the admin. Please use
GPO tool and import the template to create the entry.

chro...@googlecode.com

unread,
Feb 24, 2015, 7:46:04 AM2/24/15
to chromi...@chromium.org
Updates:
Status: Duplicate
Mergedinto: 446219

Comment #28 on issue 419755 by kaliamoo...@chromium.org: Registered
Protocol Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

(No comment was entered for this change.)

chro...@googlecode.com

unread,
May 1, 2015, 12:06:42 AM5/1/15
to chromi...@chromium.org

Comment #29 on issue 419755 by drhyd...@gmail.com: Registered Protocol
Handlers policy setting not showing up as set on Chrome
https://code.google.com/p/chromium/issues/detail?id=419755

Very frustrating. The Windows GPO setting works. I can see the setting
appear in the Registry location as documented. However Chrome
[42.0.2311.135 (Official Build) m (32-bit)] does not apply the Registry
setting to the 'local state' file.

As a workaround I have my GPO use the following Powershell script for
our "localexplorer" protocol:
get-childitem "C:\Users" | %{
$path = "C:\Users\" + $_ + "\appdata\Local\Google\Chrome\User Data\Local
State"
if(test-path $path -pathtype leaf){
$content = get-content $path -ea silentlycontinue
if($content){
$found = $null
$content | where {$_.contains("`"localexplorer`"")} | %{$found = $true}
if(!$found){$content | %{$_.replace("`"mailto`":", "`"localexplorer`":
false,`r`n `"mailto`":")} | out-file $p -encoding ascii -force}
Reply all
Reply to author
Forward
0 new messages