Plugin Directory

Changeset 3203456


Ignore:
Timestamp:
12/06/2024 08:20:08 AM (16 months ago)
Author:
karim42
Message:

fix preg_match sourate parameter

Location:
quran-text-multilanguage/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • quran-text-multilanguage/trunk/inc/template.php

    r3203397 r3203456  
    186186    init_quran();
    187187
    188 
    189 
    190188    if(isset($_GET['sourate']) && isset($_GET['lang'])) {
    191         if(preg_match("/^([1-9]|[1-9][0-9]|1[0-1][0-4])$/", $_GET['sourate'], $matches)) {
     189        if(preg_match("/[0-9]{1,3}$/", $_GET['sourate'], $matches)) {
    192190            $sura = $matches[0];
    193191            ?>
     
    210208        }
    211209    }
    212 
    213210    else{
    214211
  • quran-text-multilanguage/trunk/quran-text-multilanguage.php

    r3203397 r3203456  
    77Description: Quran Text Multilanguage translated into 29 languages. Full ajax version and responsive. Fully customizable. More reciter...
    88
    9 Version: 2.3.22
     9Version: 2.3.23
    1010* Important: This update includes critical security fixes
    1111Author: Bahmed karim
  • quran-text-multilanguage/trunk/readme.txt

    r3203397 r3203456  
    369369* Security: Critical security fix for XSS vulnerability in sourate parameter
    370370* IMPORTANT: All users should update immediately
     371
     372= 2.3.23 =
     373 - fix preg_match sourate parameter
     374
Note: See TracChangeset for help on using the changeset viewer.