- Convert test messages to HTML format for proper URL extraction
- Fix variable syntax error in test suite 164
- Ensure chain redirect tests work correctly in CI environment
${REDIS_SCOPE} Suite
${RSPAMD_SCOPE} Suite
${RSPAMD_URL_TLD} ${RSPAMD_TESTDIR}/../lua/unit/test_tld.dat
-${SETTINGS} {symbols_enabled=[URL_REDIRECTOR_CHECK]}
-${SETTINGS_WITH_SYMBOL} {symbols_enabled=[URL_REDIRECTOR_CHECK,URL_REDIRECTOR]}
+${SETTINGS} {symbols_enabled=[URL_REDIRECTOR_CHECK]}
*** Test Cases ***
CHAIN REDIRECT RESOLUTION WITH INTERMEDIATE HOPS
MIME-Version: 1.0
-Content-Type: text/plain; charset="utf-8"
+Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
-Test message with redirect chain
-http://127.0.0.1:18080/chain1
-http://127.0.0.1:18080/redirect2
+<html>
+<body>
+<p>Test message with redirect chains</p>
+<a href="http://127.0.0.1:18080/chain1">Chain 1</a>
+<a href="http://127.0.0.1:18080/redirect2">Redirect 2</a>
+</body>
+</html>
-Content-type: text/plain
+MIME-Version: 1.0
+Content-Type: text/html; charset="utf-8"
+Content-Transfer-Encoding: quoted-printable
-Test chain redirect http://127.0.0.1:18080/chain1
+<html>
+<body>
+<a href="http://127.0.0.1:18080/chain1">chain link</a>
+</body>
+</html>