Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #1

Merged
merged 27 commits into from Mar 29, 2017
Merged

Development #1

merged 27 commits into from Mar 29, 2017

Conversation

fmohican
Copy link
Contributor

Updating to php7 (part 1)

Rivetcode and others added 27 commits February 25, 2012 17:31
…wtopic.php?f=9&t=338

due to findings in http://forums.rivetcode.com/viewtopic.php?f=10&t=340&p=1119#p1114

Instead made utf8 as default charset and utf8_general_ci as default collation for all created tables
Changed mysql_escape_string to mysql_real_escape_string because of deprecation

May be reverted [again] if need be.
* Torrents per page in view in index.php (Default is 10)
* Torrents per page in view in statistics.php (Default is 5)
(previously forgotten in d9dd2c2)

Last notes:
add support for torrents with multiple listed trackers
Added short announce URL feature
Added htaccess documentation
Fixed noticeable spelling error in help document
Fix Magnet filenames with apostrophes: previously truncated at spot with apostrophe
Fix Edit Database filenames with apostrophes; previously brings MySQL error
Fix for Windows servers: uploading torrents with apostrophes previously breaks logic;
  Unix servers were unaffected
Proper spacing between Download Torrent link and Magnet link
Changed deprecated strings
… that

only recently clicked the magnet link as a seeder!
css.php
  Unfiltered $_POSTs everywhere!
  Prevent XSS in Create CSS form entry [http://forums.rivetcode.com/viewtopic.php?f=9&t=342&p=1144#p1144]
  Typo in create css file error message.
  Needed to connect to database for cleaning function.

edit_database.php
  One line changed: a simple htmlentities() will take care of this for now.

sanity.php, sanity_no_output.php
  Changed obsolete code, no escape on queries.

statistics.php
  Filtered yet another global array
Filter a forgotten $_POST array.
Added condition check for creating .css files with no filename.
  They shouldn't be created anyway.
@ahmyi ahmyi merged commit 65b1447 into master Mar 29, 2017
@ahmyi ahmyi deleted the development branch March 29, 2017 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants