enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
201 stars 34 forks source link

Portal - Content path count limit #7439

Closed GlennRicaud closed 4 years ago

GlennRicaud commented 5 years ago

To be PRed to 6.15, 7.0, 7.1 and master

Set a limit for the number of content path elements handled by Portal Add a check of contentPath.elementCount() in BaseSiteHandler.doCreatePortalRequest

@runarmyklebust @sigdestad: Unsure about the exact limit. We could make it configurable in future version. But what should be the default? 256 (takes about 0.2s on my machine)?

sigdestad commented 5 years ago

I dont know what is being limited? Number of sub-folders? Character??

GlennRicaud commented 4 years ago

Closing this issue. Original problem got handled differently: https://github.com/enonic/xp/issues/7466