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

    • J Ord
      Thu Jul 17 04:04:29 2025
      from Calgary, Alberta via SSH
    • Paul
      Wed Jul 16 22:19:38 2025
      from New York via Telnet
    • Bob Worm
      Wed Jul 16 22:16:17 2025
      from Wales, Uk via Telnet
    • Bob Worm
      Wed Jul 16 21:07:30 2025
      from Wales, Uk via Telnet
    • Bagwaa
      Wed Jul 16 18:40:15 2025
      from Nottingham via Telnet
    • Centurion
      Wed Jul 16 17:19:56 2025
      from Berea, Ohio via Telnet
    • Michal Wronka
      Wed Jul 16 13:23:00 2025
      from Wroclaw, Poland via SSH
    • Plume
      Wed Jul 16 12:58:18 2025
      from Uk via SSH
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 512
    Nodes: 16 (2 / 14)
    Uptime: 84:32:17
    Calls: 10,018
    Calls today: 1
    Files: 13,847
    D/L today: 1 files
    (9K bytes)
    Messages: 6,365,521

© >>> Magnum BBS <<<, 2025