Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2013 at 18:04 UTC
Updated:
28 Sep 2013 at 22:24 UTC
When working on different environments, such as development and production, absolute links are often accidentally entered in a page's content. This can happen through either copying and pasting an internal URL or simply typing it in, and it poses a problem when the website is moved to a different environment - especially production.
Having an absolute link pointing to a development environment when a website is live is certainly an unwanted situation, and that's what this module aims to prevent by:
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxhvasconcelos2037323git
We 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 #2
hvasconcelos commentedI've gone through the automated review tool above and removed all of the warnings in the files.
Comment #3
hvasconcelos commentedComment #4
gabesulliceHi hvasconcelos,
I'm looking forward to this module, it'll be pretty handy.
Review:
You're still on a master branch of the project. I'd suggest making a 7.x-1.x branch. Drupal.org has naming conventions for branches and releases (although not required at this early stage). Here's how to get off the master branch.
You still have quite a few errors and warnings on pareview.
Drupal coding standards disallow inline control structures. Pareview pointed out two of those on lines 101 and 132.
For example:
should be
Comment #5
hvasconcelos commentedHey Gabriel,
Thank you so much for your feedback! I appreciate you including links with it too. I've followed the instructions you mentioned to switch to the 7.x-1.x branch in the repo and fixed the errors on pareview.
Comment #6
larseliasnielsen commentedHi,
Looks really nice, and goes through pareview without any errors or warnings.
I just looked through it manually and I can't put my finger on anything.
Great work.
Comment #7
hvasconcelos commentedThanks for reviewing it, Lars :)
Comment #8
cbudzi commentedHello hvasconcelos!
At first I checked out the Masterbranch. Looks like you still have to set a new default branch on your project page.
Now for branch 7.x-1.x:
I checked fix_absolute_links.module line-by-line and found something:
Comment #9
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.