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

Fields are not imported if there is a colon in them #18

Open
florianwallner opened this issue Feb 14, 2020 · 1 comment
Open

Fields are not imported if there is a colon in them #18

florianwallner opened this issue Feb 14, 2020 · 1 comment

Comments

@florianwallner
Copy link

If there is a colon in fields like SUMMARY, DESCRIPTION or URL of an ics file, the fields cannot be imported and are left empty.

My versions:
Typo3: 9.5.13
news: 7.3.1
news_importicsxml: 3.0.0
php: 7.3.5

classic install

@florianwallner
Copy link
Author

florianwallner commented Feb 18, 2020

Had the additional problem that multiline description was interrupted.
Fixed both problems by changing the preg_match in the Ical.php#L199 as follows:

preg_match('/([A-Z-;=^:]+)[:]([\w\W]*)/', $text, $matches);

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

1 participant