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

    • Spearb0y
      Mon Jun 8 06:51:02 2026
      from Massachusetts via SSH
    • Krenn
      Mon Jun 8 05:45:38 2026
      from Sydney, Nsw via Telnet
    • Bob Worm
      Sun Jun 7 20:58:28 2026
      from Wales, Uk via Telnet
    • Michal Wronka
      Sun Jun 7 19:26:28 2026
      from Wroclaw, Poland via SSH
    • Centurion
      Sun Jun 7 16:59:51 2026
      from Berea, Ohio via Telnet
    • Furryboy
      Sun Jun 7 13:40:29 2026
      from Romania, Galati via SSH
    • Krenn
      Sun Jun 7 10:02:33 2026
      from Sydney, Nsw via Telnet
    • Spearb0y
      Sun Jun 7 07:41:05 2026
      from Massachusetts via SSH
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 715
    Nodes: 16 (2 / 14)
    Uptime: 15:17:12
    Calls: 12,102
    Calls today: 2
    Files: 15,004
    Messages: 6,518,048

© >>> Magnum BBS <<<, 2026