Make WordPress Core

Changeset 15134


Ignore:
Timestamp:
06/03/2010 11:44:26 PM (16 years ago)
Author:
azaozz
Message:

Fix regex for matching auth. key strings in wp-config-sample.php, remove extra fields for salts (we generate them automatically in wp_salt())

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/iis/parameters.xml

    r14542 r15134  
    228228        <parameterEntry
    229229        type="TextFile"
    230         match="(?&lt;=AUTH_KEY&#039;, &#039;)put your unique phrase here"
     230        match="(?&lt;=AUTH_KEY&#039;,[ ]+&#039;)put your unique phrase here"
    231231        scope="wordpress\\wp-config.php"
    232232        />
     
    247247        type="TextFile"
    248248        scope="wordpress\\wp-config.php"
    249         match="(?&lt;=SECURE_AUTH_KEY&#039;, &#039;)put your unique phrase here"
     249        match="(?&lt;=SECURE_AUTH_KEY&#039;,[ ]+&#039;)put your unique phrase here"
    250250        />
    251251</parameter>
     
    265265        type="TextFile"
    266266        scope="wordpress\\wp-config.php"
    267         match="(?&lt;=LOGGED_IN_KEY&#039;, &#039;)put your unique phrase here"
     267        match="(?&lt;=LOGGED_IN_KEY&#039;,[ ]+&#039;)put your unique phrase here"
    268268        />
    269269</parameter>
     
    283283        type="TextFile"
    284284        scope="wordpress\\wp-config.php"
    285         match="(?&lt;=NONCE_KEY&#039;, &#039;)put your unique phrase here"
    286         />
    287 </parameter>
    288 
    289 <parameter
    290         name="Key5"
    291         friendlyName="Unique Salt for Passwords"
    292         description="Unique phrase used to strengthen your password hash."
    293         defaultValue="put your unique phrase here"
    294         tags="PHP"
    295         >
    296         <parameterValidation
    297         type="RegularExpression"
    298         validationString="^[^&#039;\\]+$"
    299         />
    300         <parameterEntry
    301         type="TextFile"
    302         match="(?&lt;=AUTH_SALT&#039;, &#039;)put your unique phrase here"
    303         scope="wordpress\\wp-config.php"
    304         />
    305 </parameter>
    306 
    307 <parameter
    308         name="Key6"
    309         friendlyName="Unique Salt for Secure Passwords"
    310         description="Different unique phrase used to strengthen SSL password hashes."
    311         defaultValue="put your unique phrase here"
    312         tags="PHP"
    313         >
    314         <parameterValidation
    315         type="RegularExpression"
    316         validationString="^[^&#039;\\]+$"
    317         />
    318         <parameterEntry
    319         type="TextFile"
    320         scope="wordpress\\wp-config.php"
    321         match="(?&lt;=SECURE_AUTH_SALT&#039;, &#039;)put your unique phrase here"
    322         />
    323 </parameter>
    324 
    325 <parameter
    326         name="Key7"
    327         friendlyName="Unique Salt for Authentication"
    328         description="Different unique phrase used to strengthen authentication."
    329         defaultValue="put your unique phrase here"
    330         tags="PHP"
    331         >
    332         <parameterValidation
    333         type="RegularExpression"
    334         validationString="^[^&#039;\\]+$"
    335         />
    336         <parameterEntry
    337         type="TextFile"
    338         scope="wordpress\\wp-config.php"
    339         match="(?&lt;=LOGGED_IN_SALT&#039;, &#039;)put your unique phrase here"
    340         />
    341 </parameter>
    342 
    343 <parameter
    344         name="Key8"
    345         friendlyName="Second Unique Salt for Authentication"
    346         description="Another unique phrase used to strengthen authentication."
    347         defaultValue="put your unique phrase here"
    348         tags="PHP"
    349         >
    350         <parameterValidation
    351         type="RegularExpression"
    352         validationString="^[^&#039;\\]+$"
    353         />
    354         <parameterEntry
    355         type="TextFile"
    356         scope="wordpress\\wp-config.php"
    357         match="(?&lt;=NONCE_SALT&#039;, &#039;)put your unique phrase here"
    358         />
    359 </parameter>
    360 
     285        match="(?&lt;=NONCE_KEY&#039;,[ ]+&#039;)put your unique phrase here"
     286        />
     287</parameter>
    361288
    362289<!-- Set the correct path for the ACL based on the AppPath selected
Note: See TracChangeset for help on using the changeset viewer.