propublica / Capitol-Words

Scraping, parsing and indexing the daily Congressional Record to support phrase search over time, and by legislator and date
BSD 3-Clause "New" or "Revised" License
122 stars 34 forks source link

?js=false make server error #79

Closed timball closed 10 years ago

timball commented 10 years ago

it seems that submitting any query params makes capwords 500 . a common query params wrt to GOOG wmt is /?js=false ... must strip these away .

--timball

timball commented 10 years ago

this makes things behave:

    if ($args ~* "js=false") {
        rewrite ^(.*)$ $1? permanent;
    }

--timball