View Issue Details

IDProjectCategoryView StatusLast Update
0001445Main CAcert Website[All Projects] Generalpublic2018-11-16 10:55
Reporterpmoulding@cacert.orgAssigned To 
Status newResolutionopen 
PlatformTest CAcert WebsiteOSN/AOS VersionTest
Product Version 
Target VersionFixed in Version 
Summary0001445: The code has hardcoded. Replace with settings file.
DescriptionThere are 2846 instances of 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 =
Some are capitalised and should be something like the following in a .ini file.
domain_name_display =
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 You will see lines like the following.
$body .= " 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


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



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 New Issue
2018-11-04 04:41 Assigned To => jandd
2018-11-04 04:42 Summary The cost has hardcoded. Replace with settings file. => The code has 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