View Issue Details

IDProjectCategoryView StatusLast Update
0001445Main CAcert WebsiteGeneralpublic2020-05-22 11:32
Reporterpmoulding@cacert.org Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformTest CAcert WebsiteOSN/AOS VersionTest
Summary0001445: The code has cacert.org hardcoded. Replace with settings file.
DescriptionThere are 2846 instances of cacert.org in the code. Some are comments and some are constants that should be moved to a configuration file.
Some are straight text and should be something like the following in a .ini file.
domain_name = cacert.org
Some are capitalised and should be something like the following in a .ini file.
domain_name_display = CAScert.org
Some are email addresses and could be something like the following in a .ini file.
lists_email_address = cacert-tverify@lists{domain_name}

In the config file, domain name would be first then substituted into the following settings.
Steps To ReproducePerform a global scan for cacert.org. You will see lines like the following.
$body .= "CAcert.org user\n\n";
Additional InformationThis could be added to some common code used for other things including an autoloader. I would not hold up the mysql or other issues for this change.
TagsNo tags attached.
Reviewed by
Test Instructions

Relationships

has duplicate 0001449 needs workbdmc Move configuration from code to external file 

Activities

jandd

2018-11-04 09:08

administrator   ~0005651

this is not an infrastructure (system administration) issue. It does not belong into this bug tracker project but into the main website project.

Issue History

Date Modified Username Field Change
2018-11-04 04:41 pmoulding@cacert.org New Issue
2018-11-04 04:41 pmoulding@cacert.org Assigned To => jandd
2018-11-04 04:42 pmoulding@cacert.org Summary The cost has cacert.org hardcoded. Replace with settings file. => The code has cacert.org hardcoded. Replace with settings file.
2018-11-04 09:08 jandd Note Added: 0005651
2018-11-04 09:09 jandd Project Infrastructure => Main CAcert Website
2018-11-04 09:09 jandd Category general => General
2018-11-04 09:11 jandd Assigned To jandd =>
2018-11-16 10:54 GuKKDevel Relationship added related to 0001449
2018-11-16 10:55 GuKKDevel Relationship replaced has duplicate 0001449