Pop-Up Thingie

UserClub BBS
  • 0
  • 1
  • 2
  • Register
  • Log in

  1. Forum
  2. FidoNet Areas
  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

    • Guest
      Tue Apr 22 17:09:15 2025
      from System via Raw
    • Guest
      Sun Apr 27 09:07:09 2025
      from Tokyo, Japan via Telnet
    • Guest
      Mon Apr 28 07:41:54 2025
      from System via Raw
    • Guest
      Mon May 5 11:38:28 2025
      from System via Telnet
  • System Info

    Sysop: Rempala
    Location: Richlands, NC
    Users: 113
    Nodes: 10 (0 / 10)
    Uptime: 122:51:36
    Calls: 373
    Files: 6
    Messages: 110,814

© UserClub BBS, 2025