Jump to:

23552 Posts in 19349 Topics by 2891 members

General Questions

SilverStripe Forums » General Questions » ClassName displayed in browser

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 211 Views
  • igorbi
    Community Member
    3 Posts

    ClassName displayed in browser Link to this post

    During some testing I've came across:

    Action 'XXXXXXXX' isn't available on class YYYYYYY.

    It actually works fine, but I'm not ok with class name disclosure in browser. Is there any logic to disable it, for instance to display this message only on dev environments, and when env is set to live just to omit class name. This would be acceptable.

    Even better, is there a way to redirect that request (using SS logic) to ErrorPage (404), no just a text in browser.

    Since this is SS core functionality, I'm not happy to update code in framework folder (like to keep core files as is).

    Is there some cool solution for this situation?


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.