Dotclear


Ignore:
Timestamp:
07/17/16 10:09:33 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Prevents SSRF/XSPA on Feed import, thanks wiswat for reporting this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.core.php

    r3267 r3269  
    14551455                    'Include sub-categories in category page and category posts feed'), 
    14561456                    array('wiki_comments','boolean',false, 
    1457                     'Allow commenters to use a subset of wiki syntax') 
     1457                    'Allow commenters to use a subset of wiki syntax'), 
     1458                    array('import_feed_url_control','boolean',true, 
     1459                    'Control feed URL before import'), 
     1460                    array('import_feed_no_private_ip','boolean',true, 
     1461                    'Prevent import feed from private IP'), 
     1462                    array('import_feed_ip_regexp','string','', 
     1463                    'Authorize import feed only from this IP regexp'), 
     1464                    array('import_feed_port_regexp','string','/^(80|443)$/', 
     1465                    'Authorize import feed only from this port regexp') 
    14581466               ); 
    14591467          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map