TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

34 点作者 late_groomer将近 10 年前

4 条评论

late_groomer将近 10 年前
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 未加载
jacob9706将近 10 年前
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 未加载
andyana将近 10 年前
Mirror: <a href="http:&#x2F;&#x2F;pastebin.com&#x2F;R8HUAt5q" rel="nofollow">http:&#x2F;&#x2F;pastebin.com&#x2F;R8HUAt5q</a>
评论 #9702296 未加载
评论 #9702763 未加载
mlinksva将近 10 年前
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.