I was working with the string replace with regex and found an interesting bug.
The template removes black listed urls from an original file (blk.txt)
Everything works like a peach until the long urls show up, they can't be parsed out
Plus the line which comes immediately after it.
blk.txt
Problematic urls
Also I've attached the template as well.
Question is there a limit to the regex lenght, or the long URL is the culprit?
The template removes black listed urls from an original file (blk.txt)
Everything works like a peach until the long urls show up, they can't be parsed out
Plus the line which comes immediately after it.
blk.txt
Код:
http://thedomainxxxxxx.org/wp-content/themes/socrates/style.css
http://thedomainxxxxxx.org/wp-content/themes/socrates/css/styleRightSide300.css
http://thedomainxxxxxx.org/wp-content/plugins/seo-pressor/templates/css/styles.css?ver=3.3.2
http://thedomainxxxxxx.org/xmlrpc.php?rsd
http://thedomainxxxxxx.org/wp-includes/wlwmanifest.xml
http://thedomainxxxxxx.org/
http://thedomainxxxxxx.org/fish-oil-dosage
http://thedomainxxxxxx.org/xtend-life-scam
http://thedomainxxxxxx.org/feed
http://thedomainxxxxxx.org/feed/rss
http://thedomainxxxxxx.org/feed/atom
http://thedomainxxxxxx.org/comments/feed
http://thedomainxxxxxx.org/xtend-life-scam
http://thedomainxxxxxx.org/fantastic-asthma-ideas-that-can-certainly-help-you
http://thedomainxxxxxx.org/zsa-zsa-cream-a-revolutionary-anti-aging-creme
http://thedomainxxxxxx.org/perhaps-you-have-thought-about-taking-a-look-at-the-turbulence-training-system-you-might-want-to-check-this-out-first
http://thedomainxxxxxx.org/ways-to-havehappier-smiles
http://thedomainxxxxxx.org/the-blackhead-blitz-program-top-product-high-conversions
http://thedomainxxxxxx.org/category/dha
http://thedomainxxxxxx.org/category/fish-oil
http://thedomainxxxxxx.org/category/health-and-fitness
http://thedomainxxxxxx.org/category/xtend-life-2
http://thedomainxxxxxx.org/category/dha
http://thedomainxxxxxx.org/category/fish-oil
http://thedomainxxxxxx.org/category/health-and-fitness
http://thedomainxxxxxx.org/category/xtend-life-2
http://thedomainxxxxxx.org/fantastic-asthma-ideas-that-can-certainly-help-you
http://thedomainxxxxxx.org/zsa-zsa-cream-a-revolutionary-anti-aging-creme
http://thedomainxxxxxx.org/perhaps-you-have-thought-about-taking-a-look-at-the-turbulence-training-system-you-might-want-to-check-this-out-first
http://thedomainxxxxxx.org/ways-to-havehappier-smiles
http://thedomainxxxxxx.org/the-blackhead-blitz-program-top-product-high-conversions
http://thedomainxxxxxx.org
http://thedomainxxxxxx.org
http://thedomainxxxxxx.org/xtend-life-scam
http://thedomainxxxxxx.org/fish-oil-dosage
http://thedomainxxxxxx.org/fish-oil-benefits
http://thedomainxxxxxx.org/fish-oil-side-effects
http://thedomainxxxxxx.org/fish-oil-review
http://thedomainxxxxxx.org/fishoil.php
http://thedomainxxxxxx.org/fishoil.php
http://thedomainxxxxxx.org/fishoil.php
http://thedomainxxxxxx.org/fishoil.php
http://thedomainxxxxxx.org/fishoil.php
http://thedomainxxxxxx.org/fishoil.php
http://thedomainxxxxxx.org/fishoil.php
http://dan.xtend-life.com/product/Omega_3_DHA_Fish_Oil.aspx?id=100111
http://dan.xtend-life.com/product/Omega_3_DHA_Fish_Oil.aspx?id=100111
http://www.socratestheme.com/cb/go.php?id=something
http://thedomainxxxxxx.org/about
http://thedomainxxxxxx.org/contact
http://thedomainxxxxxx.org/disclaimer
http://thedomainxxxxxx.org/privacy-policy
http://thedomainxxxxxx.org/terms-of-use
Код:
http://thedomainxxxxxx.org/wp-content/plugins/seo-pressor/templates/css/styles.css?ver=3.3.2
http://thedomainxxxxxx.org/xmlrpc.php?rsd
http://dan.xtend-life.com/product/Omega_3_DHA_Fish_Oil.aspx?id=100111
http://dan.xtend-life.com/product/Omega_3_DHA_Fish_Oil.aspx?id=100111
http://www.socratestheme.com/cb/go.php?id=something
Question is there a limit to the regex lenght, or the long URL is the culprit?
Вложения
-
1,8 КБ Просмотры: 626