Timeline for Forbid (or rewrite) proxy links in answers
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 20, 2019 at 3:44 | comment | added | Hugh Thomas | @JonEricson: Thanks! I know nothing about this and should probably shut up and let the people like you who understand the issues do their thing. Nonetheless two things occur to me. One is: maybe people neglect to write http; maybe someone with better search skills than me could see how much that happens. Another one is: could the regex look for whatever it is in the markup we use that encodes that something is a clickable link? | |
Feb 19, 2019 at 20:24 | comment | added | Jon Ericson StaffMod |
@HughThomas: The regex doesn't really know if the string is a URL. Doing that would be a little more complex. That said, I could search for strings that start with https?: and include "proxy". That would knock off the "edu" requirement and avoid false positives.
|
|
Feb 19, 2019 at 20:11 | comment | added | Hugh Thomas | To me, it seems unlikely that any non-proxy URL would include the phrase "proxy". Maybe just search for that? (I say this as someone who has accidentally included a proxy URL in an answer and whose institution does not have ".edu" in its URL. | |
Feb 19, 2019 at 16:30 | comment | added | Jon Ericson StaffMod | @NajibIdrissi: True. For the purposes of this warning, however, I need a text pattern that has a high probability of indicating a proxy link and a low probability of creating more confusion. I'm happy to add more checks if they seem to fit that criteria. | |
Feb 19, 2019 at 15:30 | comment | added | Najib Idrissi |
"For this site, most proxies seem to be associated with educational institutions." and .edu is almost exclusively associated with educational institutions from the United States.
|
|
Feb 19, 2019 at 7:39 | comment | added | Jon Ericson StaffMod | Oh. Good catch. I played around with that message for a bit and didn't give it the final pass it needed, I suppose. I changed the final word to "them". | |
Feb 19, 2019 at 6:23 | comment | added | Federico Poloni | It's very minor, but there seems to be a subject-verb agreement mistake in the error message (your links work... others can follow it). | |
Feb 19, 2019 at 6:22 | comment | added | Federico Poloni | Thanks, this looks exactly like what I had in mind! | |
Feb 19, 2019 at 6:21 | vote | accept | Federico Poloni | ||
Feb 19, 2019 at 6:20 | history | edited | Federico Poloni | CC BY-SA 4.0 |
fixed regex description
|
Feb 19, 2019 at 6:11 | history | answered | Jon EricsonStaffMod | CC BY-SA 4.0 |