dachcom-digital / pimcore-formbuilder

Pimcore Formbuilder - create forms easily!
Other
92 stars 47 forks source link

Prevent "/_locale/form-control/get-url-structure" from being indexed #383

Closed scrummer closed 1 year ago

scrummer commented 1 year ago
Q A
Bug report? yes/no
Feature request? no
BC Break report? no
RFC? no

The get-url-structure endpoint needs to be excluded from indexing robots (robots.txt). Install it by making an entry for each site:

...
/form-control/get-url-structure
/*/form-control/get-url-structure

@see https://github.com/pimcore/pimcore/blob/10.5/bundles/AdminBundle/Controller/Admin/SettingsController.php#L1571-L1608

solverat commented 1 year ago

Allowing GET operation on this route should be enough. Those URLs are now secret.

Btw. BingBot is the only silly Bot which is crawling data-attributes. However. Fixed.