Skip to content

Commit 137fa35

Browse files
committed
[Special:Connect/Debug] Fixed URLs not updating correctly
1 parent daa8d1a commit 137fa35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Facebook/modules/ext.facebook.application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
var doit = confirm("Press OK to to update the " + title + " of your Facebook application to " + correct);
5050
// Make sure the FB object has been loaded from Facebook
5151
if (doit && FB) {
52-
FB.api('/' + id + '?' + field + '=' + correct, 'POST', {
52+
FB.api('/' + id + '?' + field + '=' + encodeURIComponent(correct), 'POST', {
5353
access_token: app_access_token
5454
}, function(response) {
5555
if (response && !response.error) {

0 commit comments

Comments
 (0)