Comments (8)
Which PHP version is that? I suspect an upgrade would help.
from geshi-1.0.
Using php5-fpm 5.6.20+dfsg-0+deb8u1.
from geshi-1.0.
ok, that's pretty recent.
It's still a PHP bug which needs to be reported to php.net with a small test case
from geshi-1.0.
Have also tried it on php 7.0.6-1~dotdeb+8.1 - that returned an empty result, which also is not a normal behaviour.
from geshi-1.0.
This is more or less a shot in the dark, but you could try increasing PCRE’s backtrack limit.
Issue #61 might be related to this.
from geshi-1.0.
Tried that as well, didn't help.
I totally do not understand why this regexp causes such a deep recursion. Moreover, I have tried it through other engines - for example, on regex101.com - and it does work. So it's more like a PCRE issue probably.
However, I'm still not convinced that such a complex regexp is really needed - mostly that's because I posted that here.
from geshi-1.0.
It's still a PHP bug which needs to be reported to php.net with a small test case
Nobody ever reported a bug to PHP, so this issue still exists. It will continue to exist if nobody reports the bug to PHP.
from geshi-1.0.
Since the problem is not in GeSHi itself but the pcre library, I'm closing this bug here.
If you care enough to open a bug report against PHP or libpcre, please link it here.
from geshi-1.0.
Related Issues (20)
- New release tag HOT 8
- Use of a Broken or Risky Cryptographic Algorithm in geshi/geshi.php HOT 6
- Support Json format HOT 10
- scilab highlighting has not valid html links HOT 1
- scilab highlighting refers old docs HOT 3
- <CODE SAS> highlighting inside PROC SQL HOT 5
- Deprecated: Function create_function() is deprecated HOT 1
- Use keyword parser control for roff
- 'Perl 6' has been renamed as 'Raku'
- Website out of date
- Please repair qbnz.com
- Typo in Swift keyword
- Add synonyms for conventional well-known languages/extensions
- TSQL syntax highlighing error HOT 1
- Case sensitivity & array index
- Php8.1 brokes
- Go highlighting borks on numbers HOT 3
- qbnz.com down
- Thank You
- Security contact HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geshi-1.0.