-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"=" in a URL #7
Comments
I'm also experiencing this issue. |
In Document.php line 878 (i think i edit and not check change if($attribs[0] == '=' && strrpos($attribs, '=') === 0) if($attribs[0] == '=') I don't now if this break something (possibility) , its a fast patch without try understand why that check, but now works for me if appears any error with url tag i will check again. |
that check its for bbcodes with two arguments, if any bbcode have two arguements will get a error. i don't known which bbcode have two arguements |
The final solution it's working 100% but it needs some optimizations ^_^ In the classes/Node/Container/Document.php
And in the classes/Node/Container.php
and now every thing will run without any problem Suggestion : I think that we can use @diegargon solution if we will be able to specify the tag ([URL]) in the IF statement |
If the [url='...'] have a '=' like "index.php?view=1"
$atribbs seems empty and get filled by
if(empty($attribs['default']))
$attribs['default'] = $content;
i think...
Result-> bad url
The text was updated successfully, but these errors were encountered: