Letractively / webloginpe

Automatically exported from code.google.com/p/webloginpe
0 stars 0 forks source link

Рroblems with the symbol " #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When registering or editing information of the user having problems with symbol 
" in the forms, fields containing the symbol " (quote)

Proposed solution:

File: webloginpe.class.php
Function: PlaceHolders
Line: 1987
Code: $modx->setPlaceholder('user.'.$key, stripslashes($value));
Replace to: $modx->setPlaceholder('user.'.$key, 
htmlspecialchars(stripslashes($value), ENT_QUOTES, 
$modx->config['modx_charset']));

Line: 2144
Code: $modx->setPlaceholder('post.'.$key, $value);
Replace to: $modx->setPlaceholder('post.'.$key, htmlspecialchars($value, 
ENT_QUOTES, $modx->config['modx_charset']));

Original issue reported on code.google.com by impex.jp...@gmail.com on 17 Sep 2010 at 7:16

GoogleCodeExporter commented 9 years ago
Sorry, impex.jp.com other my user name
Correct user name: webseeinfo

Original comment by webseei...@gmail.com on 18 Sep 2010 at 4:14

GoogleCodeExporter commented 9 years ago
Confirmation
Sorry, impex.jp.com other my user name
Correct user name: webseeinfo

Original comment by impex.jp...@gmail.com on 18 Sep 2010 at 4:15