Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
update.module
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Aug 2015 at 18:46 UTC
Updated:
27 Sep 2015 at 16:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joelpittetComment #3
mile23Comment #4
sharique commentedHere is updated patch.
Comment #5
mile23Looked for other !placeholders in strings using NetBeans and my eyes. (!? as a wildcard expression)
Couldn't find any.
Comment #6
alexpott@webchick has pointed that this is incorrect... It'll result in emails becoming
Comment #7
izus commentedhi,
i configured my site name to "izus's website"
i applied the patch
i enabled update module and run cron
the $message['subject'] contains: New release(s) available for izus's website
with !site_name back again it's now: New release(s) available for izus's website
i also deleted the modifications in hook_help as there is already an issue for that #2560783: Replace !placeholder with :placeholder for URLs in hook_help() implementations
Comment #8
alexpottNot sure this one is correct either since it is an email.
Comment #9
alexpottAlso #7 seems to be missing most of the "correct" changes from #4
Comment #10
izus commentedHi,
Thanks for the review, here is a new patch.
- it addresses #8 by puting back !url
- the #9 is due to deleting the modifications in hook_help as there is a special issue for those (mentionned in #7) #2560783: Replace !placeholder with :placeholder for URLs in hook_help() implementations
Thanks
Comment #11
justachris commentedPostponed on determining plan in parent #2506427: [meta] !placeholder causes strings to be escaped and makes the sanitization API harder to understand and then analyzing whether this issue still makes sense.
Comment #12
justachris commentedClosing this, splitting by module was not the ideal approach to removing !placeholder. Marking as duplicate of #2506427: [meta] !placeholder causes strings to be escaped and makes the sanitization API harder to understand, since the chosen approach is / will be outlined there, please refer to it for any additional action.
Comment #13
sutharsan commentedPatch now included in #2506445-140: Replace !placeholder with @placeholder in t() and format_string() for non-URLs in tests.
Comment #14
xjm