Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Sep 2015 at 12:08 UTC
Updated:
13 Jun 2016 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rajesh.vishwakarma commentedComment #3
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #4
rishabh318 commentedHi Rajesh,
1. You need to use hook_help function for user's.
2. For language max length refer to below link :
https://en.wikipedia.org/wiki/List_of_language_names
3. In function language_proficiency_field_widget_form(), you should use IF ELSE instead of switch case since you have only one case.
Thanks
Rishabh
Comment #5
swarad07The code seems fine, I still haven't tested the module.
You need to look into whatever mentioned in #4.
Comment #6
rajesh.vishwakarma commented@ rishabh318 and swarad07 has been done.
Comment #7
hmdnawaz commentedHi Rajesh.
I have installed the module. Create a field of type "language_proficiency".
In the field settings, I have set a default value in the "Name" textbox, and check the "write" checkbox under the "proficiency" dropdown.
Then I went to the node form. On the node form the "Name" field was empty, The default value is not there. and also the "write" checkbox was unchecked.
And also I am seeing the following notices on the node form.
Please fix these issues.
Thanks
Comment #8
hmdnawaz commentedComment #9
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #10
rajesh.vishwakarma commentedComment #11
rajesh.vishwakarma commented@hmdnawaz thanks for your update. Now default value is working fine.
Comment #12
rajesh.vishwakarma commentedComment #13
klausimanual review:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #14
manjit.singh@rajesh.vishwakarma Thanks for the contribution.
Automated Review
Best practice issues identified by pareview.sh : No.
Manual Review
#default_valueand user provided value is not properly sanitize to handle special characters. Please check https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/chec... and https://www.drupal.org/node/28984 to handle user provided data.Comment #15
manjit.singhComment #16
klausi@Manjit: #default_value is sanitized automatically by the form API, so that is fine and should not be changed. If you think you found an XSS problem always try to exploit it to make sure there is an actual problem.
The security vulnerability is in theme_language_proficiency_formatter_language_proficiency_unformat() where the language value is printed unsanitized to HTML. If I enter
<script>alert('XSS');</script>as language name then there will be a nasty javascript popup. Since the field length is only enforced as attribute on the language input field I can manipulate the submitted data to get something longer than 8 characters into the system.Comment #17
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #18
rajesh.vishwakarma commented@ Klausi / Manjit thanks for your review.
I have found an XSS problem with textfield, I have add filter_xss function to fix this.
Comment #19
rajesh.vishwakarma commentedComment #20
pankajsachdeva commentedHi @rajesh,
This module works fine.
There is small recommendation find using Coder module :
There is no other major blocker issue.
Comment #21
pankajsachdeva commentedComment #22
damienmckennaThanks for your contribution, Rajesh!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.