Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
question about security
#1
hey everybody
im using g.simp. in a rtl language in order to support fancty urls i did these changes:
1.installed slug Transliteration
2.changed 
$url = clean_url(to7bit(str_replace(array_keys($a),array_values($a),$t)));
to
$url =$t;

3.changed 
#RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
to
RewriteRule /?([^/]*)/?$ index.php?id=$1 [QSA,L] 


i want to know is what i did safe?
Reply




Users browsing this thread: 1 Guest(s)