Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2013 at 10:52 UTC
Updated:
30 Oct 2014 at 14:38 UTC
Jump to comment: Most recent
Comments
Comment #1
klausiThere are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxcodeyourdream1902778git
Comment #2
codeyourdream commentedYep, it can not parse the following styles:
Actually this is not an error.
Comment #3
Seppe Magiels commentedHi codeyourdream,
To solve the issue above try replacing it by the code below. This way it will be viewed as a string and might be accepted.
More info on this here.
While reading
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=1);I noticed that you wroteopacity=1. It should beopacity=100, I made the mistake a couple of times myself, it's a sneaky one . ;)Greetings!
Comment #4
Rasmus Steen commentedI tested your module to see how it works with node add forms and I have four comments
Pastebins:
mymodule.module
http://pastebin.com/qB3Urgsa
mymodule.js
http://pastebin.com/vizGJhRH
Comment #5
klausiGit default branch is not set, see the documentation on setting a default branch.
Manual Review of the 7.x-1.x branch:
The potential security issue is a blocker, otherwise this looks almost ready. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #6
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #7
codeyourdream commentedAll issues are fixed, thanks for good reviews.
Now there is no need in hooks popup_forms_theme_registry_alter() and popup_forms_process_html(), because module uses delivery callback instead.
Before printing these variables, drupal_json_encode() is called, which escapes <, >, ' and ". So there is no security issue.
Comment #8
kscheirerYour README seem to have more up to date information that the project page?
Why do you have a note about D6 security when this appears to be a D7-only module?
I'm not sure why you have a new global variable
$_popup_forms_ajax_response_values- is it possible to refactor this?You have a typo in
popup_forms_render_popup_form()$agumentshould be$argument.$form_state['build_info']['args'] = $args;has arguments coming directly from the $_GET string, is this safe? You should probably use check_plain or something similar.There are also some errors reported via ventral.org: http://ventral.org/pareview/httpgitdrupalorgsandboxcodeyourdream1902778git. Especially the first one (using
$form_state['input']) is a security concern.Setting to needs work for security questions, otherwise this is RTBC from me.
----
Top Shelf Modules - Enterprise modules from the community for the community.
Comment #8.0
kscheirerExclude info about 6.x branch, because it has been deleted from git
Comment #8.1
codeyourdream commentedUpdate usage info
Comment #8.2
codeyourdream commentedChangesome text formatting
Comment #8.3
codeyourdream commentedChange example of file pointing
Comment #9
codeyourdream commentedThanks kscheirer,
all issues are fixed, except this
These arguments aren't printed to output, they are just passed to the form. It is the way the drupal_get_form() works in case when it acts as a page callback.
Comment #10
vincenzo gambino commentedThere is still some formatting issue reported by Ventral
http://ventral.org/pareview/httpgitdrupalorgsandboxcodeyourdream1902778git
Please fix it.
Comment #11
klausiMinor coding standard issues are not application blockers, please do a real manual review.
Comment #12
kscheirerThanks for the updates, you've addressed my security concerns. Cleaning up those minor style issues would be nice, but definitely not a blocker.
----
Top Shelf Modules - Enterprise modules from the community for the community.
Comment #13
stborchertSorry for resetting the status, but:
All user accounts are for individuals. Accounts created for more than one user or those using anonymous mail services will be blocked when discovered (see Get a Drupal.org account).
Please change your account information and enter your realname.
Just a personal note: I didn't see the point why (simply spoken) extracting a feature of existing modules into a new module would not be duplication of functionality ...
Comment #14
codeyourdream commentedThank you, corrected the personal information.
Comment #15
kscheirerThanks for your contribution, codeyourdream!
I updated your account to let you 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 get 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.
----
Top Shelf Modules - Enterprise modules from the community for the community.
Comment #16.0
(not verified) commentedChange access arguments syntax
Comment #17
dahousecat commentedI could really do with some sample code showing how to put an add node form in a popup using this module. Could anyone add some here?
I saw Rasmus added some on pastebin above but it has since been removed.
Comment #18
codeyourdream commented