Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

4.1 KB
Raw Blame

RIS exports no longer write URL credentials into any field: the user:password@ userinfo before a URL's host, as a browser's URL parser reads it. Text that the rules below for a URL in other text keep is still written as it is. A source link keeps its host, path and query without them, and so does a title or a DOI: line that is a credential URL. A value is checked as it is and in its decoded forms: with HTML entities and percent-escapes decoded, NFKC-normalized, with every tab, line feed and carriage return deleted, as a browser deletes them from a URL, and with every control character, U+2028 and U+2029 turned into a space, as the RIS file writes them. A value whose credentials cannot be removed cleanly is left out instead, and a title is then written as [source URL omitted]: a credential URL wrapped in <…>, a markdown link, quotes or other text, one whose delimiters are spelled with HTML entities, percent-encoding or full-width characters, one that a tab, line feed or carriage return breaks up, one after a bare run of slashes and backslashes other than //, and one that does not parse. In every form, a URL inside a wrapper or other text ends at the first whitespace, as a linkifier ends it. A value that is a URL as a whole, past any leading whitespace, controls or U+FEFF, is read past whitespace in its host part, as in https:/ user:pass@host and https: user:pass@host. Where whitespace directly follows the colon of http:, https:, ftp:, ws: or wss:, it is read past only when a word follows it, then an @ and a host, so that a title such as HTTP: email me at [email protected] is kept: the word and the host hold no whitespace, /, \, ? or #, the host holds no @, whitespace may come between the word and the @, and the host must be followed by /, \, ?, # or nothing but whitespace, controls or U+FEFF. A value that needs decoding, one containing &, %, a control character or a non-ASCII character, counts as carrying credentials when its decoded forms, itself included, are too long or too many to check. An author, a publication year, or a DOI found in other text, is no longer taken from a line that carries a credential URL, so a password such as the 2024 of URL: https://admin:[email protected]/ is not written as the year. A line carries one when it does as written, when the value of a URL: or DOI: line does, or when the author list, an author in it, or a DOI after DOI: starts a value that does: each such value is read as a URL as a whole, to the end of its line, past the full stop, comma, and, ampersand or whitespace at which the author or the DOI is cut, as in by https: user:a.b@host. A title carrying one is sanitized as written rather than after its metadata is trimmed, and is checked again after each cut the trimming makes, since a cut can join what is left into a credential URL and a later cut can split it again; such a title gives no year or DOI either. Credentials are recognised under any scheme; after a bare //, \\, /\, /// or other run of two or more slashes and backslashes, all of which a browser on an https page reads as //; and in the https:user:pass@host form browsers accept. Source links containing control characters, or a backslash in the host part, are left out too. An ordinary @ in a path, as in medium.com/@author, is kept, but two rare shapes are left out to be safe: an @ in the segment after a // inside a path, as in /img//logo@2x, and one in the segment after http:, https:, ftp:, ws: or wss: inside a path or query, as in ?q=ws:foo@bar. A password that holds an unencoded /, ? or # ends the authority there, so text such as https://user:2024/Secret@host/x holds no userinfo and is kept.

Source lines are also checked in their unsplit record before title and metadata extraction can separate a password from its @. Credential fragments split by LF or CRLF are omitted, including splits inside encoded delimiters; unrelated titles, authors, years and DOI lines remain available. This source-context check uses the same decoding limits and omits fields when it cannot complete within those limits.