Closed (fixed)
Project:
LoginToboggan Reminder
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
20 Dec 2016 at 12:13 UTC
Updated:
10 May 2017 at 09:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bhavikshah9 commentedHere is the patch.
Comment #3
richardp commentedThank you-- This looks good to me, with one change:
I wanted to intentionally allow markup in the reminder msg that gets displayed in hook_init(), just in case some site admins want to be fancy with the message, display links to other pages, etc. Using check_plain() on it would strip any such HTML.
In the meantime, I'm afraid I don't have much time these days to tend to this project. Would you be interested in being made a co-maintainer?
Richard
Comment #4
bhavikshah9 commentedHi @richardp,
Thanks for prompt reply.
I have used
check_plain()as a security aspect. But, your argument is valid. I will replacecheck_plain()withfilter_xss_admin().And yes, I would be glad to become co-maintainer.
Comment #5
bhavikshah9 commentedHere is the patch.
Comment #6
richardp commentedLooks good to me. Please feel free to apply the patch and commit your changes whenever you like.
Richard
Comment #7
bhavikshah9 commentedHey @richardp,
I will keep it open as it for a week for community members to look into it.
Then, commit it.
Comment #8
joshi.rohit100extra white space
shouldn't this be also wrapped in t() as its for UI ?
Comment #9
bhavikshah9 commentedHey @joshi.rohit100,
Thanks for the review. I don't know why my coder doesn't sniffed this.
I will update the new patch and interdiff soon.
Comment #10
bhavikshah9 commentedHere is the updated patch with interdiff.
Comment #11
lomasr commentedApplied the patch , seems to have 'whitespace issues' . Please see the screenshot.
Comment #12
lomasr commentedI have tried to remove whitespaces. Please review the patch.
Comment #13
bhavikshah9 commentedHey @lomasr,
Thanks for the screenshot.
Yes. You are right about the warnings. I have got similar warnings while development. But, I didn't found any whitespace actually in code.
Have you found any whitespace actually within module file after apply the patch?
Or, can you please help me understand why it's showing warnings when there are no actual whitespace?
Comment #14
bhavikshah9 commentedHey @lomasr,
I have tried to apply your patch.
Unfortunately, it shows whitespace messages as well. In fact, patch failed to be applied. I have attached a screenshot.
I have no idea why such warnings comes up. This is something I have never faced.
I will keep this issue open for few more days for community members to comment/review.
Comment #15
lomasr commentedHi , I like to maintain this module
Comment #16
gmaltoni commentedHi!
Just a few coding standards improvements.
I hope to help.
Thanks.
Comment #17
bhavikshah9 commentedHey @lomasr,
Thanks. But, this module is not actively maintained.
Comment #18
faline commentedI've applied the patch #16 and it is working for me, with no warning.
Comment #19
lomasr commentedHi, thanks. In this case who is going to commit and close this issue? , Not sure.
Comment #20
richardp commentedlomsar, I have added you as a maintainer. Please feel free to commit and close the issue as you see fit.
Thanks,
Richard
Comment #21
lomasr commentedThanks Richard.
Comment #23
lomasr commented