Menu

#25 "Check Later Version" fails with web proxies

v1.0 (example)
closed-fixed
updates (1)
5
2014-06-26
2014-06-21
lwc
No

The program fails to check for a new version when the web proxies are involved.
Web proxies (like Proxomitron) modify web pages, including the one which is used for Clam Sentinel's auto check.

You can solve it by using placeholders. For example, modify http://clamsentinel.sourceforge.net/Version.php from:
1.21
into:
<!-- version start -->1.21<!-- version end -->
Then always look for what's between the comments instead of just grabbing the entire page.

1 Attachments

Discussion

  • Andrea Russo

    Andrea Russo - 2014-06-21

    Please open the url:

    http://clamsentinel.sourceforge.net/Version.php

    and attach a txt file with the html code that you have received.

    Andrea Russo

     
  • Andrea Russo

    Andrea Russo - 2014-06-21
    • assigned_to: Andrea Russo
     
  • Andrea Russo

    Andrea Russo - 2014-06-21

    The solution 1.21 is not compatible with previous versions.

     
  • lwc

    lwc - 2014-06-21

    Your request is attached.
    The solution should always work as soon as you'll use HTML comments and detect the X in:
    <!-- version start -->X<!-- version end -->
    There's no need to grab the entire page just for that X.

     
  • Andrea Russo

    Andrea Russo - 2014-06-24

    Please open this url:

    http://clamsentinel.sourceforge.net/VersionTest.php

    and attach the result that you receive.

     
  • Andrea Russo

    Andrea Russo - 2014-06-25

    And try also with the program.

     
  • lwc

    lwc - 2014-06-25

    It works now (tried the program too), the correct content-type header did the job.

    Here's your requested output anyway.

     

    Last edit: lwc 2014-06-25
  • Andrea Russo

    Andrea Russo - 2014-06-26
    • status: open --> closed-fixed
     

Log in to post a comment.