Bug: SM19 Web Import Fails with Non-Standard HTTP Ports (Ignores Ports Other Than 80)
From: IwakuraLain1984
Country:
Sent: 05/05/2025
Subject: Bug: SuperMemo 19 Web Import Fails with Non-Standard HTTP Ports (Ignores Ports Other Than 80)
Question:
The Web Import feature in SuperMemo 19 fails when trying to import content from web addresses using non-standard HTTP ports (i.e., ports other than
80
). For example, attempting to import fromhttp://127.0.0.1:8887
will fail. (Note: The feature also fails for localfile://
paths)Steps to reproduce
- In SuperMemo 19, use Web Import and enter the URL including the non-standard port (e.g.,
http://127.0.0.1:8887/page.html
).- An error occurs (e.g., "Cannot download or parse the page"), or a blank/faulty element is imported.
- Packet capture confirms that upon clicking Import, SuperMemo ignores the specified port (
8887
) and incorrectly attempts to connect to the standard port80
.The Web Import function appears to use port
80
for the actual import connection viahttp://
, disregarding any other port specified in the URL or localfile://
pathsConfirmatory Test
Successfully importing the same content after changing the web server to use the standard port
80
(http://127.0.0.1/test.html
) confirms the issue is port-related.![]()
More details and Workaround
Hints
very nice analysis. indeed, supermemo should not make users waste time on this trap. thank you
Answer: