You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Jakub Vrána (JIRA)" <ji...@apache.org> on 2009/02/18 12:13:02 UTC
[jira] Created: (SHINDIG-925) Meaningless regular expression
Meaningless regular expression
------------------------------
Key: SHINDIG-925
URL: https://issues.apache.org/jira/browse/SHINDIG-925
Project: Shindig
Issue Type: Bug
Components: PHP
Affects Versions: trunk
Reporter: Jakub Vrána
Priority: Trivial
Fix For: trunk
There is meaningless regular expression in getDb() of JsonDbOpensocialService.php.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SHINDIG-925) Meaningless regular expression
Posted by "Jakub Vrána (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakub Vrána updated SHINDIG-925:
--------------------------------
Attachment: shindig-925.diff
Regular expression (?:.|[\\n\\r])*? crashes in PHP 5.2.9. Regular expression .* with sU modifiers is faster and safer alternative.
> Meaningless regular expression
> ------------------------------
>
> Key: SHINDIG-925
> URL: https://issues.apache.org/jira/browse/SHINDIG-925
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: trunk
> Reporter: Jakub Vrána
> Assignee: Chris Chabot
> Priority: Trivial
> Fix For: trunk
>
> Attachments: shindig-925.diff, shindig-925.diff
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> There is meaningless regular expression in getDb() of JsonDbOpensocialService.php.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SHINDIG-925) Meaningless regular expression
Posted by "Jakub Vrána (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakub Vrána updated SHINDIG-925:
--------------------------------
Attachment: shindig-925.diff
[] is used to match individual characters. To match several characters, assertions are needed.
> Meaningless regular expression
> ------------------------------
>
> Key: SHINDIG-925
> URL: https://issues.apache.org/jira/browse/SHINDIG-925
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: trunk
> Reporter: Jakub Vrána
> Priority: Trivial
> Fix For: trunk
>
> Attachments: shindig-925.diff
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> There is meaningless regular expression in getDb() of JsonDbOpensocialService.php.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SHINDIG-925) Meaningless regular expression
Posted by "Chris Chabot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Chabot resolved SHINDIG-925.
----------------------------------
Resolution: Fixed
Assignee: Chris Chabot
Nice catch, fix's been committed, thanks for the patch!
> Meaningless regular expression
> ------------------------------
>
> Key: SHINDIG-925
> URL: https://issues.apache.org/jira/browse/SHINDIG-925
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: trunk
> Reporter: Jakub Vrána
> Assignee: Chris Chabot
> Priority: Trivial
> Fix For: trunk
>
> Attachments: shindig-925.diff
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> There is meaningless regular expression in getDb() of JsonDbOpensocialService.php.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.