Bug - Non logged in users post ideas reveals flaws

1 view
Skip to first unread message

JT

unread,
Apr 23, 2009, 1:31:17 PM4/23/09
to tinypug-dev
in this view:
http://127.0.0.1/tinypug/ideas/view_list/

when an unregistered user clicks "Add New Idea"
they are actually forwarded to a CodeIgniter error message and the URL
bar contains:

[code]
http://127.0.0.1/tinypug/ideas/add/%3Cdiv%20style=%22border:1px%20solid%20#990000;padding-left:20px;margin:0%200%2010px%200;"><h4>A%20PHP%20Error%20was%20encountered</h4><p>Severity:%20Notice</p><p>Message:%20%20Undefined%20variable:%20category</p><p>Filename:%20views/idea_list_view.php</p><p>Line%20Number:%2053</p></div><div%20style="border:1px%20solid%20#990000;padding-left:20px;margin:0%200%2010px%200;"><h4>A%20PHP%20Error%20was%20encountered</h4><p>Severity:%20Notice</p><p>Message:%20%20Trying%20to%20get%20property%20of%20non-object</p><p>Filename:%20views/idea_list_view.php</p><p>Line%20Number:%2053</p></div>
[/code]

Jeffrey McManus

unread,
Apr 23, 2009, 3:09:03 PM4/23/09
to tinyp...@googlegroups.com
Hi JT,

Great bug, thanks for posting it. I've added this as issue #17 (critical for milestone 3).

http://code.google.com/p/tinypug/issues/detail?id=17

Jeffrey

Jeffrey McManus

unread,
Apr 27, 2009, 5:14:56 PM4/27/09
to tinypug-dev
This issue is resolved. The fix can be found in Subversion now; it
will also be included in our upcoming 0.9.2 release.

Thanks again for the bug!

Jeffrey

On Apr 23, 12:09 pm, Jeffrey McManus <jeffreymcma...@gmail.com> wrote:
> Hi JT,
>
> Great bug, thanks for posting it. I've added this as issue #17 (critical for
> milestone 3).
>
> http://code.google.com/p/tinypug/issues/detail?id=17
>
> Jeffrey
>
> On Thu, Apr 23, 2009 at 10:31 AM, JT <cpac...@gmail.com> wrote:
>
> > in this view:
> >http://127.0.0.1/tinypug/ideas/view_list/
>
> > when an unregistered user clicks "Add New Idea"
> > they are actually forwarded to a CodeIgniter error message and the URL
> > bar contains:
>
> > [code]
>
> >http://127.0.0.1/tinypug/ideas/add/%3Cdiv%20style=%22border:1px%20sol...
Reply all
Reply to author
Forward
0 new messages