Amir Caspi
6b5fa52ec1
Update rcube_utils::parse_host, fixes #6746
...
Updated regexps used in parse_host to ensure that %t, %d, %z do not cut off domain and return only tld when underlying host has no subdomain (i.e., is just domain.tld rather than mail.domain.tld). Update fixes #6746 , now returns nothing shorter than domain.tld.
Also removed backslash from character class, period does not need to be escaped within character class.
6 years ago
Aleksander Machniak
7c8ce07e8c
Fix bug where bold/strong text was converted to upper-case on html-to-text conversion (6758)
6 years ago
Aleksander Machniak
0c4d78aa11
Remove language code from charset name as per the RFC2231.5
6 years ago
Aleksander Machniak
fe90903fa1
Fix bug in parsing vCard data using PHP 7.3 due to an invalid regexp ( #6744 )
...
Looks like \R is not allowed in character class, but \r\n is fine.
On PHP 7.3.5 it throws warnings and empty result from preg_replace(),
though I couldn't reproduce.
6 years ago
Aleksander Machniak
f3d16240f2
Fix bug where bmp images couldn't be displayed on some systems ( #6728 )
6 years ago
Aleksander Machniak
e3014de2ce
Simplify code around detected mimetype string
6 years ago
Aleksander Machniak
45a6ad1ba7
Fix so an error is logged when more than one attachment plugin has been enabled, initialize the first one ( #6735 )
6 years ago
Aleksander Machniak
593188559a
Fix regression where non-terminating errors were sent to the browser
6 years ago
Aleksander Machniak
55cca61134
Workaround more invalid HTML cases parsed incorrectly by Mastermind/HTML5 ( #6713 )
6 years ago
Aleksander Machniak
fbb5a5bc4f
Small code simplification in raise_error()
6 years ago
Aleksander Machniak
02dc6ce41c
Don't init the session in CLI mode
...
This prevents from PHP warnings when using CLI scripts e.g. installto.sh.
6 years ago
Aleksander Machniak
72ad567db6
Add new line at the end of error message in CLI mode
6 years ago
Aleksander Machniak
00173a7622
Update some code documentation
6 years ago
Aleksander Machniak
32612f0b8f
Log some more info with session_debug
6 years ago
Aleksander Machniak
c87ac075ae
Renamed 'log_session' option to 'session_debug'
6 years ago
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
6 years ago
Aleksander Machniak
69080457b1
Code simplification
6 years ago
Aleksander Machniak
92ed0154d5
Followup fix on handling HTML content w/o html/head/body tag ( #6713 )
6 years ago
Aleksander Machniak
03d56926d8
Fix bug in HTML parser that could cause missing text fragments when there was no head/body tag ( #6713 )
6 years ago
Aleksander Machniak
711e46a018
Force HIGHESTMODSEQ use on dovecot
...
This may fix some messages cache issues. Dovecot does not return
HIGHESTMODSEQ nor NOMODSEQ metadata on SELECT until it is "forced"
to switch to "permanent mod-seq mode". It can be done either by
ENABLE QRESYNC/CONDSTORE or by requesting the metadata explicitely
on SELECT/STATUS. We'll use STATUS for that.
6 years ago
Aleksander Machniak
6f479096d5
Merge branch 'wash-xml-namespace' of https://github.com/dsoares/roundcubemail into dsoares-wash-xml-namespace
6 years ago
Aleksander Machniak
a35699637d
Fix PHP error when using Net_LDAP3 from master
...
get_entry() method signature has changed. We don't really needed
that override in rcube_ldap_generic, so it's now removed.
6 years ago
dsoares
00cc13a1b9
Fix bug where HTML messages with a xml:namespace tag were not rendered.
6 years ago
Aleksander Machniak
ab7eeb3daa
CS fixes
6 years ago
Aleksander Machniak
d8488aae32
Disable spellcheker (hide button) if the list of languages is empty
...
Better handling of uninitialized (not installed) spellchecker engine.
Also prevent from PHP fatal error if enchant ext is not installed.
6 years ago
Aleksander Machniak
641a67fe75
Elastic: Fix unintentional layout preference overwrite ( #6613 )
...
This is actually skin-independent mechanism that prevents overwriting
of skin-specific preferences by ajax requests (that until now were
not aware of skin config).
6 years ago
Aleksander Machniak
82974289b9
Fix typo
6 years ago
Aleksander Machniak
fe5b4fd81d
fputs() -> fwrite()
6 years ago
Aleksander Machniak
61eb78ad64
Fix so ANY record is not used for email domain validation, use A, MX, CNAME, AAAA instead ( #6581 )
6 years ago
Aleksander Machniak
5693b4f31c
Fix bug in parsing some IMAP command responses that include unsolicited replies ( #6577 )
6 years ago
Aleksander Machniak
a7df28093f
Make rcube_session::unserialize() public method
6 years ago
Aleksander Machniak
881b344fba
Fix regression in vcard parser
6 years ago
Aleksander Machniak
35e2bffb90
Support simple field labels (e.g. LetterHub examples) in csv imports ( #6541 )
6 years ago
Aleksander Machniak
32a0ad6778
Force session.gc_probability=1 when using custom session handlers ( #6560 )
6 years ago
Aleksander Machniak
d3c65d752b
Remove useless "return null;" at the end of function block
6 years ago
Stuart Henderson
98349c19f6
Fix typo LOG_EMERGE ( #6566 )
6 years ago
Aleksander Machniak
7a49b48dc1
Fix handling of empty entries in vCard import ( #6564 )
6 years ago
Aleksander Machniak
b0c83111de
Fix rcube_imap_cache in mode set to MESSAGE only
6 years ago
Aleksander Machniak
aa7e2febd1
Add 'required' to the list of boolean attributes
6 years ago
Aleksander Machniak
36485dfc34
Prevent from using deprecated timezone names from jsTimezoneDetect
...
For better interoperability of plugins such as Calendar, for example
issue see: https://git.kolab.org/T2666 .
6 years ago
Aleksander Machniak
943de28d2a
Log IMAP/SMTP connection time in debug mode
6 years ago
Aleksander Machniak
c1aa2169f6
Plugin API: Added 'ldap_connected' hook
6 years ago
Aleksander Machniak
edd9c31d6c
Skip registering session handlers when session already exists
...
.. for a specific use case when I want to create additional rcube_session object
for discrete operations on another session.
6 years ago
Aleksander Machniak
afc68aae63
FIx temp_filename() regressions, update changelog, add note in UPGRADING
6 years ago
PhilW
e024f133fa
give all temp files a constant prefix
6 years ago
Aleksander Machniak
2935b3a66a
Fix malformed message saved into Sent folder when using big attachments and low memory limit ( #6498 )
6 years ago
Aleksander Machniak
7b203cbc52
Fix bug where a message/rfc822 part without a filename wasn't listed on the attachments list ( #6494 )
6 years ago
Aleksander Machniak
3dad8c5908
Fix incorrect IMAP SASL GSSAPI negotiation ( #6308 )
6 years ago
Aleksander Machniak
c4916a8fe3
Simplify code that uses setError() followed by return
6 years ago
Aleksander Machniak
186f21c4c1
Avoid Referer leaking by using Referrer-Policy:same-origin header ( #6385 )
...
Added 'common_headers' hook
6 years ago
Aleksander Machniak
c8d133a6a0
Merge branch 'master' into dev/elastic
6 years ago
Aleksander Machniak
b126941846
Fix session issue on long running requests ( #6470 )
6 years ago
Stefanos Petrakis
8ab1e4fbc3
Fix multiple VCard field search ( #6466 )
6 years ago
Aleksander Machniak
0a0ac045fe
Fix bug where valid content between HTML comments could have been skipped in some cases ( #6464 )
6 years ago
Aleksander Machniak
255638cc44
Update changelog, require Net_SMTP 1.8.1 for GSSAPI support
6 years ago
urusha
75f37f8b0f
SMTP GSSAPI support ( #6417 )
...
* krb_authentication support for smtp_connect
* smtp GSSAPI support
6 years ago
Aleksander Machniak
2dcf50019c
Merge branch 'master' into dev/elastic
6 years ago
Aleksander Machniak
e38b477b99
Fix including plugin scripts (regression)
6 years ago
Aleksander Machniak
2c12274d38
Fix style/navigation on error page depending on authentication state ( #6362 )
6 years ago
Aleksander Machniak
4310046993
Remove redundant trim()
6 years ago
Aleksander Machniak
c28242f63c
Log errors caused by low pcre.backtrack_limit when sending a mail message ( #6433 )
6 years ago
Aleksander Machniak
03fef0d6ca
New_user_identity: Fix %fu/%u vars substitution in user specific LDAP params ( #6419 )
6 years ago
Aleksander Machniak
796e5a17e6
Removed referer_check option ( #6440 )
6 years ago
Aleksander Machniak
eaa81a5b61
Fix so invalid smtp_helo_host is never used, fallback to localhost ( #6408 )
6 years ago
Allan Klaus
6a49ba5aa2
Added exec_hook to send error to an external error tracking tool ( #6198 )
6 years ago
Aleksander Machniak
5cdb54221f
Fix listing the same attachment multiple times on forwarded messages
6 years ago
Aleksander Machniak
24e3977d74
Fix invalid regular expressions that throw warnings on PHP 7.3 ( #6398 )
6 years ago
Aleksander Machniak
19332495b0
Fix so fallback from BINARY to BODY FETCH is used also on [PARSE] errors in dovecot 2.3 ( #6383 )
6 years ago
Aleksander Machniak
988ed7e565
Fix PHP warnings on dummy QUOTA responses in Courier-IMAP 4.17.1 ( #6374 )
6 years ago
Aleksander Machniak
4f2b795cd2
Fix doc for 3rd argument of rcube::deliver_message() ( #6353 )
6 years ago
Aleksander Machniak
cba1605949
Add http_only argument to rcube_utils::setcookie()
6 years ago
Aleksander Machniak
086e781b8f
Fix bug where some HTML comments could have been malformed by HTML parser ( #6333 )
7 years ago
Aleksander Machniak
fd7d7faabd
Improve checking folder delete rights according to RFC 4314
7 years ago
Aleksander Machniak
58e514970e
Add option to hide folders in share/other-user namespace or outside of the personal namespace root ( #5073 )
7 years ago
Aleksander Machniak
5e3868eb10
Fix so attachment without Content-ID is not an inline attachment ( #5905 )
7 years ago
Aleksander Machniak
e9d38e847c
Re-add setting error_log=syslog when log_driver=syslog
7 years ago
Aleksander Machniak
3d0b2cd3ce
Pass PEAR errors to rcube::raise_error(), small CS improvements
7 years ago
Aleksander Machniak
12b1b54792
Fix bug where after "mark all folders as read" action message counters were not reset ( #6307 )
...
also fixed one PHP 7.2 warning
7 years ago
Aleksander Machniak
6691756ea1
Fix bug where unicode contact names could have been broken/emptied or caused DB errors ( #6299 )
7 years ago
Aleksander Machniak
30ab2eec5f
Remove function_exists() checks for mbstring functions
7 years ago
Aleksander Machniak
4b97f40af9
Get rid of debug_level ( #6298 )
7 years ago
Aleksander Machniak
71eec07d25
Fix regression where some non-inline attachments could be not listed ( #6291 )
7 years ago
Aleksander Machniak
430c000e32
Support skin localization ( #5853 )
7 years ago
Aleksander Machniak
1247a8dd7d
Fix bug where some forbidden characters on Cyrus-IMAP were not prevented from use in folder names
7 years ago
Aleksander Machniak
0716d499bc
Fix bug where some escape sequences in html styles could bypass security checks
7 years ago
Edgaras L
c236c22c41
Parse all quotas from GETQUOTAROOT ( #6280 )
7 years ago
Aleksander Machniak
c0b9025215
Remove sample PHP configuration from .htaccess and .user.ini files ( #5850 )
...
Moved to https://github.com/roundcube/roundcubemail/wiki/Installation#php-configuration
7 years ago
Aleksander Machniak
63d3ad11fb
Use Masterminds/HTML5 parser for HTML5 support ( #5761 )
7 years ago
Aleksander Machniak
e79838aaac
Enigma: Disable autofill for new keypair password
7 years ago
Aleksander Machniak
dd3ea4ed2b
Fix extracting codepage
7 years ago
Aleksander Machniak
8a6a9e86ae
Fix handling of forwarded messages inside of a TNEF message ( #5632 )
7 years ago
Aleksander Machniak
a889f55c31
Fix PHP Warning: Use of undefined constant IDNA_DEFAULT on systems without php-intl ( #6244 )
7 years ago
Aleksander Machniak
b2bebe531a
Fix bug where usernames without domain part could be malformed or converted to lower-case on logon ( #6224 )
7 years ago
Aleksander Machniak
8df6d7c3e4
Fix regression in compressMessageSet() ( #6235 )
7 years ago
Aleksander Machniak
8b0540d402
Fix possible IMAP command injection and type juggling vulnerabilities ( #6229 )
7 years ago
Aleksander Machniak
df3878501c
Fix PHP 7.2: count(): Parameter must be an array in enchant-based spellchecker ( #6234 )
7 years ago
Aleksander Machniak
73ea8f94d0
Use htmlspecialchars() with charset argument, simplify some code
7 years ago
Aleksander Machniak
f36e23b778
Fix parsing date strings (e.g. from a Date: mail header) with comments ( #6216 )
7 years ago
Aleksander Machniak
2196f50437
Support redis_debug in the redis session driver
7 years ago
Aleksander Machniak
0f3ad342f7
Fix bug where some unix timestamps were not handled correctly by rcube_utils::anytodatetime() ( #6212 )
7 years ago