Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration expireDays not working - defaults to 30 days #502

Open
neufeind opened this issue Jul 7, 2017 · 7 comments
Open

Configuration expireDays not working - defaults to 30 days #502

neufeind opened this issue Jul 7, 2017 · 7 comments

Comments

@neufeind
Copy link

neufeind commented Jul 7, 2017

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.

@dmitryd
Copy link
Owner

dmitryd commented Jul 11, 2017

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

@dmitryd
Copy link
Owner

dmitryd commented Aug 6, 2017

Related to #444

@neufeind
Copy link
Author

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 ...

@dmitryd
Copy link
Owner

dmitryd commented Aug 14, 2017

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

This means it does not exist officially :)

@hbm-flick
Copy link

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

@dmitryd
Copy link
Owner

dmitryd commented Oct 6, 2017

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.

@hbm-flick
Copy link

Okay, thanks for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants