Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. FidoNet
  3. SYNC SYSOPS
  • http.js not working with marketwatch urls

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Mon Feb 15 15:18:43 2021
    open https://gitlab.synchro.net/main/sbbs/-/issues/220

    Sample URL:http://www.marketwatch.com/news/story.asp?guid=%7B21005575-02D4-D4B5-4572-D28A72DE3461%7D&siteid=rss&rss=1Produced 301Location: https://www.marketwatch.com/news/story.asp?guid=%7B21005575-02D4-D4B5-4572-D28A72DE3461%7D&siteid=rss&rss=1Which produced 301location: /story/guid/21005575-02d4-d4b5-4572-d28a72de3461?siteid=rss&rss=1Which produced 301location: http://www.marketwatch.com/story/the-new-york-stock-exchange-president-says-the-stock-market-is-not-a-casino-heres-what-academic-research-says-11613396805which produced 301Location: https://www.marketwatch.com/story/the-new-york-stock-exchange-president-says-the-stock-market-is-not-a-casino-heres-what-academic-research-says-11613396805Which finally gives me a 200. The code I'm using is var req = new HTTPRequest(); req.follow_redirects=10; response = req.Get(url); writeln("RC: "+req.response_code); writeln("RS: "+req.response_status); writeln(response);and RC is giving me a 404 and can't figure why.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Mon Feb 15 15:28:59 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/220#note_1598

    How are the URLs "producing" 301s if not via http.js? The description says it ends up with a 200, but then you say you get a 404... it's certainly not both.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Mon Feb 15 15:34:40 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/220#note_1599

    When I run the script the output from the section above is:Working on http://www.marketwatch.com/news/story.asp?guid=%7B0F3C2883-C89D-472A-9721-7859431504DF%7D&siteid=rss&rss=1RC: 404RS: undefinedSo, you tell me. If I manually go through the redirects, I get to the right place. If I use my script that eventually uses http.js then I get a 404.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Mon Feb 15 15:36:35 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/220#note_1600

    So how are you getting 301s? How are you "manually" going through the requests?
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Mon Feb 15 15:41:35 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/220#note_1601

    Using the browser debugger.![image](/uploads/6c729cf0b48da9fed5437d398d6688f2/image.png)
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Mon Feb 15 15:50:01 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/220#note_1602

    So, a bit of feedback... in the description, tell us what is happening. If you want to add colour, make it clear what you're actually doing.Also, it would be nice if when you include a script it is complete, works, and shows the problem (ie: load http.js and sets the url).
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab issue in main/sbbs on Mon Feb 15 15:51:06 2021
    close https://gitlab.synchro.net/main/sbbs/-/issues/220
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • Who's Online

  • Recent Visitors

    • Bob Worm
      Mon Sep 14 08:34:31 2026
      from Wales, Uk via Telnet
    • Retrojimmyx
      Mon Sep 14 00:27:04 2026
      from Derbyshire via Telnet
    • Rixter
      Mon Sep 14 00:01:35 2026
      from Madison, Nc via Telnet
    • Sam Shaxted
      Sun Sep 13 14:48:09 2026
      from Sittingbourne, Kent via SSH
    • Furryboy
      Sun Sep 13 13:32:38 2026
      from Romania, Galati via SSH
    • Bob Worm
      Sun Sep 13 13:31:58 2026
      from Wales, Uk via Telnet
    • Rixter
      Sun Sep 13 12:01:35 2026
      from Madison, Nc via Telnet
    • Quenix
      Sun Sep 13 01:29:15 2026
      from Qu�bec, Canada via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 764
    Nodes: 16 (2 / 14)
    Uptime: 18:08:44
    Calls: 12,755
    Calls today: 3
    Files: 15,356
    Messages: 6,556,665

© >>> Magnum BBS <<<, 2026