Parameters "editing_mode" and "admin" are passed to page editing form by mistake

2 views
Skip to first unread message

Alexander Obuhovich

unread,
Aug 17, 2011, 4:54:47 AM8/17/11
to In-Portal Bugs
In-Portal uses two parameters in url to identify:
  • currently used site browse mode (browse/content/design) - "editing_mode" parameter
  • regular user or administrator is viewing the site - "admin" parameter

When administrator uses "Section Properties" button to edit currently viewed page in one of a browse modes, then these parameters are passed along to it.
As a result all link built on that "editing page" will have "editing_mode" and "admin" parameters present.

This has even more dramatic effect, when http://tracker.in-portal.org/view.php?id=1050 (in 5.2.0) is applied, since they are added to generated direct link too and admin will see different link.


Ready for testing.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
keep_section_properties_link_clean.patch

Phil -- wbtc.fr --

unread,
Aug 17, 2011, 12:38:01 PM8/17/11
to in-port...@googlegroups.com
I never posted about it, but this is a real good patch, thanks !

2011/8/17 Alexander Obuhovich <aik....@gmail.com>

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Reply all
Reply to author
Forward
0 new messages