Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Implement pep 503 for simple repository. #506

Merged
merged 4 commits into from
Nov 30, 2016
Merged

Commits on Oct 5, 2016

  1. Implement pep 503 data-requires for simple repository.

    end
    This exposes the data-requires-python field when the packages registers it.
    Carreau authored and mpacer committed Oct 5, 2016
    Configuration menu
    Copy the full SHA
    3e1ce8f View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2016

  1. Change the double quote to single quote for sql injection reasons

    cgi.escape() does not escape single quotes, so we need to make sure any
    arguments parsed with cgi.escape() are wrapped with double quotes.
    
    Using cgi.escape(quote=True) escapes double quotes. Though this is
    unlikely to occur in a python_requires value, we want to protect against
    double quote based sql injections.
    
    The html parsing was separated into its own private function so that it
    could be unit tested.
    mpacer committed Oct 6, 2016
    Configuration menu
    Copy the full SHA
    8e7c3ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9055bf8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c4dbfe View commit details
    Browse the repository at this point in the history