typo3-realurl icon indicating copy to clipboard operation
typo3-realurl copied to clipboard

Configuration expireDays not working - defaults to 30 days

Open neufeind opened this issue 7 years ago • 7 comments

Upon expiring of old URLs the documentated configuration expireDays is not taken into account. It's only used in the UrlEncoder. But in Classes/Cache/DatabaseCache.php, expireCache() the expire-value defaults to 30 days - no matter what value for expireDays is configured.

neufeind avatar Jul 07 '17 05:07 neufeind

Do you see expireDays in the Configration reference? :) The option does not exist.

dmitryd avatar Jul 11 '17 09:07 dmitryd

Related to #444

dmitryd avatar Aug 06 '17 19:08 dmitryd

Didn't find it in the docs, but that doesn't mean there is no such thing :-) Found a place in the code in Classes/Encoder/UrlEncoder.php, and I thought that was a central place for all url-encoding etc. maybe.

Please consider such a settings. Hardcoded values always feel so wrong ...

neufeind avatar Aug 10 '17 10:08 neufeind

Didn't find it in the docs, but that doesn't mean there is no such thing

This means it does not exist officially :)

dmitryd avatar Aug 14 '17 07:08 dmitryd

Will this be fixed? Would be really important to be able to adapt the 'expireDays' setting again.

hbm-flick avatar Oct 06 '17 11:10 hbm-flick

I cannot promise. This is a side project for me, it is neither sponsored, nor supported by TYPO3, so it is not of high priority. I mostly fix bugs here.

dmitryd avatar Oct 06 '17 13:10 dmitryd

Okay, thanks for the info!

hbm-flick avatar Oct 06 '17 13:10 hbm-flick