TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Sheriff's website showing PHP code, preferential treatment for county employees?

34 pointsby late_groomeralmost 10 years ago

4 comments

late_groomeralmost 10 years ago
Going through the code I found it interesting that there's a conditional in there that compares the inmate occupation to nearly half a dozen county positions (SHERIFF, JUDGE, PROSECUTOR, FIREMAN, etc.,), if the occupation matches any of those, then the script refuses to show the mugshot of the inmate. I wonder about the legality of that. You or I get arrested (not convicted, just arrested), our mugshots are posted for everyone to see. Doesn't seem fair.
评论 #9702220 未加载
评论 #9703653 未加载
评论 #9702283 未加载
评论 #9702032 未加载
评论 #9702141 未加载
评论 #9703338 未加载
jacob9706almost 10 years ago
This is a great example of a political who most likely gave the contract for the web site to a company who would in return give him a cut of the profits.
评论 #9702928 未加载
andyanaalmost 10 years ago
Mirror: <a href="http:&#x2F;&#x2F;pastebin.com&#x2F;R8HUAt5q" rel="nofollow">http:&#x2F;&#x2F;pastebin.com&#x2F;R8HUAt5q</a>
评论 #9702296 未加载
评论 #9702763 未加载
mlinksvaalmost 10 years ago
Why shouldn&#x27;t the code for all government websites be public? This sort of thing should not be revealed only through a bug.<p>Not a panacea as they could run different code, and nobody might look at the published code. But those don&#x27;t seem like reasons to not default to public code for public agencies.