set extra_url_list [split [ad_conn extra_url] "/"] set url_name [lindex $extra_url_list 1] set package_id [ad_conn package_id] set found_p [db_0or1row component { select component_id from bt_components where project_id = :package_id and url_name = :url_name }] if { $found_p } { rp_form_put component_id $component_id rp_internal_redirect [file join / packages bug-tracker www index] } else { ns_returnnotfound }