CMS MADE SIMPLE FORGE

LISE

 

[#11951] Inactive items still accessible via url

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Tue Jan 22 11:30:33 -0500 2019

Assigned To:
Version: 1.3.1
CMSMS Version: 2.2.9
Severity: None
Resolution: None
State: Open
Summary:
Inactive items still accessible via url
Detailed Description:
If an item has a url populated in the url field, the detail view is still
accessible via this url.
Expected behaviour: should be 404

My temporary workaround is to add this to the detail template:

{if $item->active==1}
  regular template code
{else}
  disabled message, and/or code to add meta redirect to <head> section
{/if}


History

Comments
avatar
Date: 2019-03-17 17:10
Posted By: Ruud van der Velden (ruudvdvelden)

Confirmed