![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
github.com/DiegoSantosWS/cms
CMS USING Go!
System is just a content manager for sites with few pages. The installation part is being developed.
By default system runs on the port http://localhost:3000/
After creating the database, access the file conexao.go and change connection data for your username and password
URL: http://localhost:3000/install
After performing the install, set whether the system created the tables correctly, if not, you have created copy the code that is in the root and run in your database. after that, just access, the URL: http://localhost:3000/ enter your username and password.
func Upload(w http.ResponseWriter, r *http.Request) {
r.ParseMultipartForm(32 << 20)
files, handler, err := r.FormFile("uploadfile")
if err != nil {
fmt.Println(err.Error())
return
}
defer files.Close()
//fmt.Fprintf(w, "%v", handler.Header)
//New name from file
namenewFile := time.Now().Format("02012006150405") + handler.Filename
f, err := os.OpenFile("assets/uploadfile/"+namenewFile, os.O_WRONLY|os.O_CREATE, 0666)
if err != nil {
fmt.Println(err.Error())
return
}
defer f.Close()
io.Copy(f, files)
idcontent, err := strconv.Atoi(r.URL.Path[12:])
if err != nil {
fmt.Println(err.Error())
}
s := fmt.Sprintf("/conteudo/%d", idcontent)
http.Redirect(w, r, s, 302)
}
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.