Summary | Error when click on link for a page that doesn't exist |
Queue | Wicked |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org, mrubinsk (at) horde (dot) org |
Requester | michael (at) bigmichi1 (dot) de |
Created | 10/04/2011 (5024 days ago) |
Due | |
Updated | 10/11/2011 (5017 days ago) |
Assigned | 10/07/2011 (5021 days ago) |
Resolved | 10/11/2011 (5017 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Wicked page names can also contain the forward slash.
Bug: 106101 files changed, 2 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/dead4aa4ad14666d32d522d72572410e187eb170
Fix quoting (
Bug #10610).1 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/b3f75ebe1882d6e097420e8a9395b54a0fdddb3f
Fix Horde_Db's buildClause() usage.
Don't use it where we explicitly want to match only the begin or end of
strings. Don't use double placeholders where we use it correctly.
Bug: 106102 files changed, 5 insertions(+), 8 deletions(-)
http://git.horde.org/horde-git/-/commit/3c57b237a1220a3d88125c0356db0c014a64cb0b
[jan] Correctly escape binding characters in buildClause() (
Bug #10610).8 files changed, 297 insertions(+), 27 deletions(-)
http://git.horde.org/horde-git/-/commit/5f3cbc1cf248033bccd3cb67b54f32b99ec27a47
Assigned to Jan Schneider
Assigned to Michael Rubinsky
Michael needs to take care of the lighttpd rules.
New Attachment: horde_debug.txt
New Attachment: horde[1].log
placeholder in the query: the url's question mark. So there are two
problems: we don't escape placeholders there, and the passed pages
name is incorrect. The latter is probably a problem with the rewriting
rules. But for now we can fix the first issue.
Can you add this code at line 810 of Horde/Db/Adapter/Base.php:
Horde::debug($error);
and upload the content of /tmp/horde_debug.txt?
New Attachment: horde.log
the error message appears. user test created the page with the linkand
user xxx tries to add the subpage for the link
backend though.
or something more. i personally think there is a problem with the
provided rewrite rules, because if i change rewriting in horde no none
everything works like expected
State ⇒ Feedback
happen. Try to get a complete backtrace for that error.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Error when click on link for a page that doesn't exist
Queue ⇒ Wicked
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
== Anleitungen ==
* [[aendern des Passwortes | ändern des Passwortes]]
when i now click on the link i got the message:
Interner Fehler beim Anzeigen dieser Seite
i'm using the lighttpd rules which are provided by the wicked package
and also enabled mod_rewrite in horde config
in my horde.log file i found this entry:
2011-10-04T18:52:37+02:00 ERR: HORDE [wicked] SQL
Horde_Db_Adapter_Base::_replaceParameters
Parameter count mismatch: SELECT * FROM wicked_pages WHERE
LOWER(page_name) LIKE
LOWER('%aendern_des_Passwortes?referrer=Wiki/Home%') [pid
4266 on line 810 of "/var/www/pear/php/Horde/Db/Adapter/Base.php"]