FreeBSD Bugzilla – Attachment 222066 Details for
Bug 253155
[PATCH] www/phpvirtualbox Fix the issue "unable to switch servers"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix from upstream
phpvirtualbox-5.2.1_1.diff (text/plain), 1.37 KB, created by
Andrew
on 2021-02-01 11:31:12 UTC
(
hide
)
Description:
Fix from upstream
Filename:
MIME Type:
Creator:
Andrew
Created:
2021-02-01 11:31:12 UTC
Size:
1.37 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 563552) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= phpvirtualbox > DISTVERSION= 5.2-1 >+PORTREVISION= 1 > CATEGORIES= www > > MAINTAINER= vbox@FreeBSD.org >Index: files/patch-js_utils.js >=================================================================== >--- files/patch-js_utils.js (nonexistent) >+++ files/patch-js_utils.js (working copy) >@@ -0,0 +1,11 @@ >+--- js/utils.js.orig 2018-11-09 09:43:10 UTC >++++ js/utils.js >+@@ -1112,7 +1112,7 @@ function phpVirtualBoxFailure(msg) { >+ * @param {Date} expire - when cookie should expire >+ */ >+ function vboxSetCookie(k,v,expire) { >+- var exp = (v ? (expire ? expire : new Date(2020,12,24)) : new Date().setDate(new Date().getDate() - 1)); >++ var exp = (v ? (expire ? expire : new Date(Date.now() + 7 * 1000 * 60 * 60 * 24)) : new Date().setDate(new Date().getDate() - 1)); >+ document.cookie = k+"="+v+"; expires="+exp.toGMTString()+"; path=/"; >+ $('#vboxPane').data('vboxCookies')[k] = v; >+ } > >Property changes on: files/patch-js_utils.js >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
andrew.hotlab
:
maintainer-approval?
(
vbox
)
Actions:
View
|
Diff
Attachments on
bug 253155
: 222066