If I enter a node title of "Drupal's Code & Workflow" and try to share that node via twitter:

It seems that social_share.theme:L148 calls rawurlencode which is double encoding text.
Recommend replacing
$replacements[$k] = rawurlencode($v);
with
$replacements[$k] = rawurlencode(decode_entities($v));

See attached patch.

CommentFileSizeAuthor
social_share_double_encoding.patch947 bytesadam.weingarten
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bryanbraun’s picture

I can confirm this issue, and and that the attached patch fixes it. :)

bryanbraun’s picture

Status: Active » Reviewed & tested by the community
willvincent’s picture

Status: Reviewed & tested by the community » Fixed

Patch commit.

  • willvincent committed 9e395b1 on 7.x-2.x
    Issue #2381237 by adam.weingarten, bryanbraun: Prevent double encoding...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.