News & Updates Check this forum for official updates, new release information, and site developments.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 01-25-2008, 12:54 PM   #1 (permalink)
Senior Member
 
Join Date: Aug 2007
Posts: 313
Nick
Default 0.5.2 Public Beta Testing

This new version features numerous improvements, bugfixes and also a new feature.

Fixes since 0.5.1:
- Basic authorisation was not working properly due as a result of the cURL settings applied to the transfer. The script now checks for the corresponding error afterwards (since 401 is considered an error code) instead of trying to find a non-existent 401 in the read headers function.
- The username and password supplied as the user details for the Basic auth was being saved in a cookie inaccessible to the main browse.php script, rendering the feature useless. The cookie is now properly set and basic auth should now be working fine.
- Injected javascript can now sit inside the <head> tag, even if the tag has attributes. Previously it would have been appended to the top of the document in those cases. Thanks to almecho for pointing this out.
- Hotlinking was still a little dodgy but the code has been looked over again and should be working fine.
- The updated plugin system attempted to load plugins even if none existed (essentially it was calling "include false;" which would have caused a PHP warning each time. The include now only occurs if a file to include has been found.
- CSS using the string src='http://www.some.url/pie.gif' for IE specific filters was not previously recognised. The parser now caters for this type of image loading. Thanks to steven for pointing this out.
- AJAX requests would previously have been replaced with a simple proxifyURL() statement around the supposed URL. This exact location of the URL was very difficult to find precisely when presented with statements such as request.open(e,this.getURL(var,'pie'));. There was also no way of determining the difference between an ajax request and any other method named "open". The call to a suspected ajax function is now rerouted through our own javascript function. I would not go as far as saying AJAX will now work perfectly but it does mean the script is much less likely to break javascript code by messing up the syntax.
- Identifying framesets used to be case sensitive, which may have prevent these pages displaying correctly or even at all. This is now case insensitive for better compatibility.

Changes:
- The cURL options regarding timeouts have had the defaults moved into the settings.php file and can be set in the setup.php script, as suggested by lanmonkey.
- Regexes have had the infinite quantifiers (* and +) replaced with finite values. This means the regex engine will not need to search all the way to the end of the document in cases of malformed HTML. There will be no/little effect on parsing valid HTML.
- The optURL configuration option has been removed from the setup.php script. There have been no (reported) problems with the function that automatically determines the URL, making hardcoding a value for this a waste of time.

Features:
- Despite the clear warnings, setup.php was being left online for anyone to use. You're still advised to delete the script but for those who do consider an admin control panel available 24/7 more important than security, there's now the ability to put a password on it.
- The index page can now be encoded server-side, sent to the user and decoded with javascript. Filters will find it a lot harder to detect the proxy form. This will increase load and bandwidth usage slightly.
- Proxified pages can also be encoded in the same way as the above. This will increase increase load considerably more and bandwidth usage will triple for HTML pages.

The encoding features are very much experimental and disabled by default. Very brief testing indicates it seems to work without a problem in FireFox but causes some layout and javascript problems in IE. It's also likely that these are going to be slow. If there are no major problems and it's worth keeping the encoding, I'll look into better ways of applying it.

Plugins:
- myspace.com has been updated with a fix for Friend Updates in IE, courtesy of almecho.
- facebook.com has a new plugin included with this release. This plugin allows the parser to deal with the widely used objects in Facebook javascript that previously would have been confused with line delimiters (as in a closing } from an if/while/for statement). I don't know if there are any benefits to it but it means I can now load Facebook without Firebug giving me 20+ javascript errors.

Notes:
This is released as a beta and is not available on the main site. I would like upgrade it to Final and give it a full release asap. If anyone is interested in trying out the beta, it's included as an attachment. Feedback is appreciated but please only report genuine bugs with the script. And by that I mean incompatibilities (problems on specific sites) that have always existed and occur in all proxy scripts (excluding plugins/mods) are not usually bugs. There may be some other changes as well that I've forgotten atm.

Updating from 0.5.1:
Instructions are included in the INSTALL file.
Attached Files:
File Type: zip glype-0.5.2b.zip (79.0 KB, 34 views)
Nick is offline
Country: United Kingdom
 
Old 01-25-2008, 02:22 PM   #2 (permalink)
Senior Member
 
Join Date: Oct 2007
Posts: 162
steven will become famous soon enoughsteven will become famous soon enough
Send a message via AIM to steven Send a message via MSN to steven Send a message via Yahoo to steven
Default Re: 0.5.2 Public Beta Testing

I havnt looked over all that much, just started, but this was showing with error reporting

myspace.com.php

postParse

if ( $type = 'html' ) {


forgot a '='

steven is offline
Country: United States
 
Old 01-25-2008, 03:35 PM   #3 (permalink)
Senior Member
 
Join Date: Aug 2007
Posts: 313
Nick
Default Re: 0.5.2 Public Beta Testing

I don't understand why it'd give you an error since that's a perfectly valid statement - it just assigns the value 'html' to $type instead of testing for equality. It still needs fixing though so thanks!
Nick is offline
Country: United Kingdom
 
Old 01-25-2008, 03:46 PM   #4 (permalink)
Senior Member
 
Join Date: Sep 2007
Posts: 137
lanmonkey will become famous soon enoughlanmonkey will become famous soon enough
Default Re: 0.5.2 Public Beta Testing

wicked nick!

I will try and give this a spin erly next week and give some feedback, I hope thats soon enough to help you!

lanmonkey is offline
Country: United Kingdom
 
Old 01-25-2008, 05:38 PM   #5 (permalink)
Junior Member
 
Join Date: Jan 2008
Posts: 7
uithoorn
Default Re: 0.5.2 Public Beta Testing

To eventually upgrade a 0.5.1 we have to replace just the "core" files? Or we should touch also template files?
Thanks!
uithoorn is offline
Country: Italy
 
Old 01-26-2008, 01:10 AM   #6 (permalink)
Member
 
Join Date: Dec 2007
Posts: 91
Phantom
Default Re: 0.5.2 Public Beta Testing

Put the javascript injection in the head tags is Good Improvement!
:P
Also the password on the setup.php is a great idea.
I noticed some great improvement on how it script handles javascript hooks also.

Having the form encrypted into javascript also sounds like a Good idea.
Phantom is offline
Country: Canada
 
Old 01-26-2008, 03:17 AM   #7 (permalink)
Junior Member
 
Join Date: Jan 2008
Posts: 7
uithoorn
Default Re: 0.5.2 Public Beta Testing

Can anyone tell if there are any template related code-changes since 0.5.1 ? I don't want to start all over...
uithoorn is offline
Country: Italy
 
Old 01-26-2008, 04:53 AM   #8 (permalink)
Member
 
Join Date: Nov 2007
Posts: 50
llamafier
Default Re: 0.5.2 Public Beta Testing

Originally Posted by uithoorn
Can anyone tell if there are any template related code-changes since 0.5.1 ? I don't want to start all over...
Nope. Hopefully the theme system will never change again.
llamafier is offline
Country: United States
 
Old 01-26-2008, 05:10 AM   #9 (permalink)
Senior Member
 
Join Date: Aug 2007
Posts: 313
Nick
Default Re: 0.5.2 Public Beta Testing

Themes and settings will remain backwards-compatible unless stated otherwise and there will never be changes to the themes in a minor release (i.e. 0.5.1 to 0.5.2).
Nick is offline
Country: United Kingdom
 
Old 01-26-2008, 08:17 AM   #10 (permalink)
Junior Member
 
Join Date: Sep 2007
Posts: 9
nick-a
Default Re: 0.5.2 Public Beta Testing

I modded glype ages ago to do the html encryption, and it's very fast, hasn't produced any errors I can find.

Email me for the code if you want Nick!
nick-a is offline
Country: United Kingdom
 
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
0.6 beta 3 available Nick News & Updates 43 12-30-2009 10:46 AM
0.5.3 Public Beta Testing Nick News & Updates 32 02-16-2008 11:34 AM
New release system - beta testing? Nick News & Updates 6 01-23-2008 01:54 PM
glype manager beta testing Nick News & Updates 15 01-14-2008 09:08 AM
0.4 beta now available Nick News & Updates 2 09-11-2007 03:29 PM


All times are GMT -5. The time now is 08:40 PM.
© 2006-2010 Glype. All Rights Reserved.